diff options
author | geireann <60007097+geireann@users.noreply.github.com> | 2020-07-17 14:45:31 +0800 |
---|---|---|
committer | geireann <60007097+geireann@users.noreply.github.com> | 2020-07-17 14:45:31 +0800 |
commit | fc136d87a5c837c9863ca892c0595d3b35a32d18 (patch) | |
tree | b1d5c0ef8d2daee6bf35365827c19c2212401d12 /src/client/apis/HypothesisAuthenticationManager.tsx | |
parent | ae47181bab9bdaa104dc417c4493bc1a0e52eea1 (diff) | |
parent | 60819bced2eb67282b77e25c77939dd45d01e7d8 (diff) |
Merge branch 'master' into presentation_updates
Diffstat (limited to 'src/client/apis/HypothesisAuthenticationManager.tsx')
-rw-r--r-- | src/client/apis/HypothesisAuthenticationManager.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/apis/HypothesisAuthenticationManager.tsx b/src/client/apis/HypothesisAuthenticationManager.tsx index cffb87227..a7fcf86a4 100644 --- a/src/client/apis/HypothesisAuthenticationManager.tsx +++ b/src/client/apis/HypothesisAuthenticationManager.tsx @@ -34,7 +34,7 @@ export default class HypothesisAuthenticationManager extends React.Component<{}> } public fetchAccessToken = async (displayIfFound = false) => { - let response: any = await Networking.FetchFromServer("/readHypothesisAccessToken"); + const response: any = await Networking.FetchFromServer("/readHypothesisAccessToken"); // if this is an authentication url, activate the UI to register the new access token if (!response) { // new RegExp(AuthenticationUrl).test(response)) { this.isOpen = true; |