mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 23:27:26 +01:00
v3: expose public interface for logger and add tests
This commit is contained in:
@@ -380,7 +380,7 @@ module.exports = function cronMiddleware (req, res, next) {
|
||||
$lt: moment(now).subtract(user.isSubscribed() ? 90 : 30, 'days'),
|
||||
},
|
||||
'challenge.id': {$exists: false},
|
||||
}).exec(); // TODO catch error or at least log it, wait before returning?
|
||||
}).exec(); // TODO wait before returning?
|
||||
|
||||
let ranCron = user.isModified();
|
||||
let quest = common.content.quests[user.party.quest.key];
|
||||
|
||||
Reference in New Issue
Block a user