mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 08:13:42 +00:00
Remove unused logout argument (#263)
This commit is contained in:
@@ -10,7 +10,7 @@ export class LogoutCommand {
|
|||||||
constructor(private authService: AuthService, private i18nService: I18nService,
|
constructor(private authService: AuthService, private i18nService: I18nService,
|
||||||
private logoutCallback: () => Promise<void>) { }
|
private logoutCallback: () => Promise<void>) { }
|
||||||
|
|
||||||
async run(cmd: program.Command) {
|
async run() {
|
||||||
await this.logoutCallback();
|
await this.logoutCallback();
|
||||||
this.authService.logOut(() => { /* Do nothing */ });
|
this.authService.logOut(() => { /* Do nothing */ });
|
||||||
const res = new MessageResponse('You have logged out.', null);
|
const res = new MessageResponse('You have logged out.', null);
|
||||||
|
|||||||
Reference in New Issue
Block a user