[API] Fix bug

This commit is contained in:
syuilo 2017-02-09 01:34:22 +09:00
parent a68efc1e5e
commit 12811d6056

View file

@ -88,7 +88,9 @@ module.exports = (params, user) =>
// Update session // Update session
await AuthSess.update(session._id, { await AuthSess.update(session._id, {
user_id: user._id $set: {
user_id: user._id
}
}); });
// Response // Response