mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-19 07:37:25 +01:00
cleanup of previous server crashing workaround, i think i figured it out
This commit is contained in:
@@ -40,7 +40,7 @@ module.exports = function(expressApp, root, derby) {
|
||||
return res.send(500, err);
|
||||
}
|
||||
userObj = user.get();
|
||||
if (!(userObj && userObj.stats && userObj.stats.money && !_.isEmpty(userObj.tasks))) {
|
||||
if (!(userObj && !_.isEmpty(userObj.stats))) {
|
||||
console.log({
|
||||
taskId: taskId,
|
||||
direction: direction,
|
||||
|
||||
Reference in New Issue
Block a user