[API] Fix bug
This commit is contained in:
parent
a68efc1e5e
commit
12811d6056
|
@ -88,7 +88,9 @@ module.exports = (params, user) =>
|
|||
|
||||
// Update session
|
||||
await AuthSess.update(session._id, {
|
||||
user_id: user._id
|
||||
$set: {
|
||||
user_id: user._id
|
||||
}
|
||||
});
|
||||
|
||||
// Response
|
||||
|
|
Loading…
Reference in a new issue