mirror of
https://activitypub.software/TransFem-org/Sharkey.git
synced 2024-12-14 18:25:45 +01:00
[API] Fix bug
This commit is contained in:
parent
7435dfcacf
commit
3fd2a68a45
1 changed files with 6 additions and 0 deletions
|
@ -96,9 +96,15 @@ module.exports = (params) =>
|
||||||
});
|
});
|
||||||
|
|
||||||
// Delete session
|
// Delete session
|
||||||
|
|
||||||
|
/* https://github.com/Automattic/monk/issues/178
|
||||||
AuthSess.deleteOne({
|
AuthSess.deleteOne({
|
||||||
_id: session._id
|
_id: session._id
|
||||||
});
|
});
|
||||||
|
*/
|
||||||
|
AuthSess.remove({
|
||||||
|
_id: session._id
|
||||||
|
});
|
||||||
|
|
||||||
// Response
|
// Response
|
||||||
res({
|
res({
|
||||||
|
|
Loading…
Reference in a new issue