mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-16 10:46:14 +01:00
endpoint to download user attachments, #6441
This commit is contained in:
@@ -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 () {};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user