This commit is contained in:
Julian Lam
2017-02-28 14:04:44 -05:00
parent 513f72c0e9
commit a8dd794697

View File

@@ -42,8 +42,8 @@ module.exports = {
batch.processSortedSet('users:joindate', function (ids, next) {
async.each(ids, function (uid, next) {
user.getSettings(uid, function (err, settings) {
if (err) {
db.getObject('user:' + uid + ':settings', function (err, settings) {
if (err || !settings) {
return next(err);
}