From a7e646e7c1fc2c9aea2078cfa299744898140c88 Mon Sep 17 00:00:00 2001 From: syuilo Date: Fri, 6 Jan 2017 12:32:55 +0900 Subject: [PATCH] [API] Clean up --- src/api/authenticate.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/authenticate.ts b/src/api/authenticate.ts index 6b70b0bfa..50a55e51b 100644 --- a/src/api/authenticate.ts +++ b/src/api/authenticate.ts @@ -22,7 +22,7 @@ export interface IAuthContext { } export default (req: express.Request) => new Promise(async (resolve, reject) => { - const token = req.body['i'] || req.body['_userkey']; // そのうち_userkeyは削除 + const token = req.body['i']; if (token == null) { return resolve({ app: null, user: null, isSecure: false });