From 0d665c8de086d79d8c49e01a262a520c65505fbf Mon Sep 17 00:00:00 2001 From: Determinant Date: Sat, 23 Feb 2019 01:20:27 -0500 Subject: improve the UI --- src/gapi.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/gapi.ts') diff --git a/src/gapi.ts b/src/gapi.ts index 4178426..116d873 100644 --- a/src/gapi.ts +++ b/src/gapi.ts @@ -56,7 +56,9 @@ export class Auth { async getAuthToken(): Promise { let b = await this.loggedIn(); - if (b) return _getAuthToken(false); + //if (b) return _getAuthToken(false); + // FIXME: Chrome OS dev has a bug + if (b) return _getAuthToken(true); else throw GApiError.notLoggedIn; } -- cgit v1.2.3