Fix changed lock method signature (#3378)

This commit is contained in:
Daniel James Smith 2022-08-26 05:04:54 +02:00 committed by GitHub
parent 90137936fa
commit f4b2fc6d54
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -170,12 +170,12 @@ export class AppComponent implements OnInit, OnDestroy {
this.loading = false;
break;
case "lockVault":
await this.vaultTimeoutService.lock(true, message.userId);
await this.vaultTimeoutService.lock(message.userId);
break;
case "lockAllVaults":
for (const userId in this.stateService.accounts.getValue()) {
if (userId != null) {
await this.vaultTimeoutService.lock(true, userId);
await this.vaultTimeoutService.lock(userId);
}
}
break;
@ -593,7 +593,7 @@ export class AppComponent implements OnInit, OnDestroy {
if (options[0] === timeout) {
options[1] === "logOut"
? this.logOut(false, userId)
: await this.vaultTimeoutService.lock(true, userId);
: await this.vaultTimeoutService.lock(userId);
}
}
}