mirror of
https://github.com/element-hq/element-web
synced 2024-11-24 02:05:45 +03:00
Appease the linter
This commit is contained in:
parent
cf80cb559e
commit
f0e02f59b4
1 changed files with 2 additions and 2 deletions
|
@ -184,9 +184,9 @@ export default class IdentityAuthClient {
|
|||
try {
|
||||
const hsOpenIdToken = await MatrixClientPeg.get().getOpenIdToken();
|
||||
// XXX: The spec is `token`, but we used `access_token` for a Sydent release.
|
||||
const { access_token, token } =
|
||||
const { access_token: accessToken, token } =
|
||||
await this._matrixClient.registerWithIdentityServer(hsOpenIdToken);
|
||||
let identityAccessToken = token ? token : access_token;
|
||||
const identityAccessToken = token ? token : accessToken;
|
||||
if (check) await this._checkToken(identityAccessToken);
|
||||
return identityAccessToken;
|
||||
} catch (e) {
|
||||
|
|
Loading…
Reference in a new issue