use res.respond

This commit is contained in:
Matteo Pagliazzi
2015-12-13 20:12:04 +01:00
parent a34f41f0f7
commit 9394fb0d94

View File

@@ -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);
},
};