1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-08 21:42:24 +03:00

Rename isAccessToken to identityAccessToken

This commit is contained in:
J. Ryan Stinnett
2019-07-30 10:05:57 +01:00
parent 654a8c2cb8
commit 4ebafb93c3
4 changed files with 9 additions and 9 deletions

View File

@@ -111,12 +111,12 @@ export default class AddThreepid {
*/
async haveMsisdnToken(msisdnToken) {
const authClient = new IdentityAuthClient();
const isAccessToken = await authClient.getAccessToken();
const identityAccessToken = await authClient.getAccessToken();
const result = await MatrixClientPeg.get().submitMsisdnToken(
this.sessionId,
this.clientSecret,
msisdnToken,
isAccessToken,
identityAccessToken,
);
if (result.errcode) {
throw result;