mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-03 04:25:55 +01:00
more refactors
This commit is contained in:
@@ -77,7 +77,7 @@ var async = require('async'),
|
||||
Digest.send = function(data, callback) {
|
||||
var now = new Date();
|
||||
|
||||
user.getMultipleUserFields(data.subscribers, ['uid', 'username', 'userslug', 'lastonline'], function(err, users) {
|
||||
user.getUsersFields(data.subscribers, ['uid', 'username', 'userslug', 'lastonline'], function(err, users) {
|
||||
if (err) {
|
||||
winston.error('[user/jobs] Could not send digests (' + data.interval + '): ' + err.message);
|
||||
return callback(err);
|
||||
|
||||
Reference in New Issue
Block a user