aboutsummaryrefslogtreecommitdiff
path: root/src/client/apis/HypothesisAuthenticationManager.tsx
diff options
context:
space:
mode:
authorBob Zeleznik <zzzman@gmail.com>2020-07-13 08:44:02 -0400
committerBob Zeleznik <zzzman@gmail.com>2020-07-13 08:44:02 -0400
commitc5eee7d838acb6991d1e37e0160cf77f5fc6aa34 (patch)
tree52b67af1bb2d63ae303b9ede9d77d3cb36b30094 /src/client/apis/HypothesisAuthenticationManager.tsx
parent6f985b10f71ace2303b669d4e2a1165ff3a29eda (diff)
parent40dbd220ef0170098bed4da8d6f3b2727190654e (diff)
Merge branch 'master' into acls_uv
Diffstat (limited to 'src/client/apis/HypothesisAuthenticationManager.tsx')
-rw-r--r--src/client/apis/HypothesisAuthenticationManager.tsx2
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;