From 3fd2a68a45ae77288f04955763a5b82ede849dd4 Mon Sep 17 00:00:00 2001 From: syuilo Date: Thu, 9 Feb 2017 02:15:34 +0900 Subject: [PATCH] [API] Fix bug --- src/api/endpoints/auth/session/userkey.js | 6 ++++++ 1 file changed, 6 insertions(+) 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({