summaryrefslogtreecommitdiff
path: root/src/api/endpoints
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2017-02-09 02:15:34 +0900
committersyuilo <syuilotan@yahoo.co.jp>2017-02-09 02:15:34 +0900
commit3fd2a68a45ae77288f04955763a5b82ede849dd4 (patch)
tree27d89baefb8af2577d1c58e5a02c6871264661e6 /src/api/endpoints
parent[API] Fix bug (diff)
downloadsharkey-3fd2a68a45ae77288f04955763a5b82ede849dd4.tar.gz
sharkey-3fd2a68a45ae77288f04955763a5b82ede849dd4.tar.bz2
sharkey-3fd2a68a45ae77288f04955763a5b82ede849dd4.zip
[API] Fix bug
Diffstat (limited to 'src/api/endpoints')
-rw-r--r--src/api/endpoints/auth/session/userkey.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/api/endpoints/auth/session/userkey.js b/src/api/endpoints/auth/session/userkey.js
index 9905d7d844..2a93421df8 100644
--- a/src/api/endpoints/auth/session/userkey.js
+++ b/src/api/endpoints/auth/session/userkey.js
@@ -96,9 +96,15 @@ module.exports = (params) =>
});
// Delete session
+
+ /* https://github.com/Automattic/monk/issues/178
AuthSess.deleteOne({
_id: session._id
});
+ */
+ AuthSess.remove({
+ _id: session._id
+ });
// Response
res({