user.update endpoint should send full user in response

This commit is contained in:
Tom Moor
2018-05-31 12:57:04 -07:00
parent 0b3feef47a
commit da9477667c

View File

@ -27,7 +27,7 @@ router.post('user.update', auth(), async ctx => {
await user.save();
ctx.body = { data: await presentUser(ctx, user) };
ctx.body = { data: await presentUser(ctx, user, { includeDetails: true }) };
});
router.post('user.s3Upload', auth(), async ctx => {