diff options
-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 f995dee3b..9a6d78bac 100644 --- a/src/client/apis/HypothesisAuthenticationManager.tsx +++ b/src/client/apis/HypothesisAuthenticationManager.tsx @@ -53,7 +53,7 @@ export default class HypothesisAuthenticationManager extends React.Component<{}> Networking.PostToServer("/writeHypothesisAccessToken", { authenticationCode, hypothesisUsername }); runInAction(() => { this.success = true; - this.credentials = response; + this.credentials = { username: hypothesisUsername, apiKey: authenticationCode! }; }); this.resetState(); resolve(authenticationCode); |