Fix bug
This commit is contained in:
parent
caa8aee7a0
commit
9f81288fcc
48 changed files with 91 additions and 140 deletions
|
|
@ -87,12 +87,8 @@ module.exports = (params, user) =>
|
|||
}
|
||||
|
||||
// Update session
|
||||
await AuthSess.updateOne({
|
||||
_id: session._id
|
||||
}, {
|
||||
$set: {
|
||||
user_id: user._id
|
||||
}
|
||||
await AuthSess.update(session._id, {
|
||||
user_id: user._id
|
||||
});
|
||||
|
||||
// Response
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue