endpoint to download user attachments, #6441

This commit is contained in:
Julian Lam
2018-04-13 11:58:31 -04:00
parent 6088c37f5a
commit a6564b7b4e
6 changed files with 112 additions and 0 deletions

View File

@@ -12,6 +12,10 @@ var utils = require('./utils');
var events = module.exports;
/**
* Useful options in data: type, uid, ip, targetUid
* Everything else gets stringified and shown as pretty JSON string
*/
events.log = function (data, callback) {
callback = callback || function () {};