From 82042d225ebd0fa16c2a001abc3c85f70da56036 Mon Sep 17 00:00:00 2001 From: syuilo Date: Thu, 26 Jan 2017 23:29:55 +0900 Subject: [PATCH] [API] Fix bug --- src/api/endpoints/auth/accept.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/endpoints/auth/accept.js b/src/api/endpoints/auth/accept.js index fce4fdc9c..90e661451 100644 --- a/src/api/endpoints/auth/accept.js +++ b/src/api/endpoints/auth/accept.js @@ -68,7 +68,7 @@ module.exports = (params, user) => if (exist === null) { // Lookup app const app = await App.findOne({ - app_id: session.app_id + _id: session.app_id }); // Generate Hash