1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-15 07:43:35 +00:00

Remove unused logout argument (#263)

This commit is contained in:
Matt Gibson
2021-02-08 13:21:51 -06:00
committed by GitHub
parent df59f99ec6
commit 6183a30a52

View File

@@ -10,7 +10,7 @@ export class LogoutCommand {
constructor(private authService: AuthService, private i18nService: I18nService,
private logoutCallback: () => Promise<void>) { }
async run(cmd: program.Command) {
async run() {
await this.logoutCallback();
this.authService.logOut(() => { /* Do nothing */ });
const res = new MessageResponse('You have logged out.', null);