From d46d4472eddc8f2e2f57e5f59e1b11d48a2b179d Mon Sep 17 00:00:00 2001 From: Justin Zelinsky Date: Mon, 18 Jul 2016 20:23:32 -0400 Subject: [PATCH] Missing return --- src/config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config.ts b/src/config.ts index 823f69d8..3b3c8c84 100644 --- a/src/config.ts +++ b/src/config.ts @@ -40,7 +40,7 @@ export default class Config { display: 'popup', oauthType: '2.0', popupOptions: { width: 452, height: 633 }, - state: () => { encodeURIComponent(Math.random().toString(36).substr(2)); } + state: () => { return encodeURIComponent(Math.random().toString(36).substr(2)); } }, github: { name: 'github',