From 781a6106a175f9d0545dbb5054629ac324b89bdb 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 fce4fdc9cd..90e6614514 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