mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-22 11:05:03 +01:00
fix check
This commit is contained in:
parent
e5b87a8518
commit
f45e56ba73
@ -343,7 +343,7 @@ export class Client {
|
|||||||
* @param {string} token A Matrix Access Token
|
* @param {string} token A Matrix Access Token
|
||||||
*/
|
*/
|
||||||
async updateAccessToken(token) {
|
async updateAccessToken(token) {
|
||||||
if (!_this.session) {
|
if (!this._session) {
|
||||||
throw Error("No session loaded, cannot update access token");
|
throw Error("No session loaded, cannot update access token");
|
||||||
}
|
}
|
||||||
this._session.updateAccessToken(token);
|
this._session.updateAccessToken(token);
|
||||||
|
Loading…
Reference in New Issue
Block a user