diff options
author | Determinant <[email protected]> | 2019-02-07 00:37:13 -0500 |
---|---|---|
committer | Determinant <[email protected]> | 2019-02-07 00:37:13 -0500 |
commit | e4651c8d1bc1c416de553428bcfba137ca35ef91 (patch) | |
tree | aff8ce0c5c24d65720b2a6e2195d25afcbe28f89 /src | |
parent | 13a2bd4f4aee6b4dec0ce799e9ba212693cbedf1 (diff) |
use a minimal webpack-based build env
Diffstat (limited to 'src')
-rw-r--r-- | src/gapi.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gapi.js b/src/gapi.js index 36af906..c2c5dd6 100644 --- a/src/gapi.js +++ b/src/gapi.js @@ -59,9 +59,9 @@ export function logout() { return getAuthToken().then(token => { return fetch(`https://accounts.google.com/o/oauth2/revoke?${to_params({ token })}`, { method: 'GET', async: true }).then(response => { - if (response.status === 200) - return _removeCachedAuthToken(token); - else throw GApiError.otherError; + //if (response.status === 200) + return _removeCachedAuthToken(token); + //else throw GApiError.otherError; }); }).then(() => loggedIn = false); } |