From 89a3d6789cb1ed00b0082b6074fe59b3a8033464 Mon Sep 17 00:00:00 2001 From: syuilo Date: Fri, 6 Jan 2017 12:30:35 +0900 Subject: [API] Improve: Better error message --- src/api/authenticate.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/api/authenticate.ts') diff --git a/src/api/authenticate.ts b/src/api/authenticate.ts index 2304acff21..6b70b0bfa8 100644 --- a/src/api/authenticate.ts +++ b/src/api/authenticate.ts @@ -47,7 +47,7 @@ export default (req: express.Request) => new Promise(async (resolv }); if (accessToken === null) { - return reject('invalid token'); + return reject('invalid signature'); } const app = await App -- cgit v1.2.3-freya