mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-12-24 18:53:09 +02:00
[API] Fix bug
This commit is contained in:
parent
a68efc1e5e
commit
12811d6056
1 changed files with 3 additions and 1 deletions
|
@ -88,7 +88,9 @@ module.exports = (params, user) =>
|
||||||
|
|
||||||
// Update session
|
// Update session
|
||||||
await AuthSess.update(session._id, {
|
await AuthSess.update(session._id, {
|
||||||
|
$set: {
|
||||||
user_id: user._id
|
user_id: user._id
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
// Response
|
// Response
|
||||||
|
|
Loading…
Reference in a new issue