mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 22:57:21 +01:00
use res.respond
This commit is contained in:
@@ -26,7 +26,7 @@ api.getUser = {
|
||||
user.stats.maxHealth = common.maxHealth;
|
||||
user.stats.maxMP = res.locals.user._statsComputed.maxMP;
|
||||
|
||||
return res.json(200, user);
|
||||
return res.respond(200, user);
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user