mirror of
https://github.com/bitwarden/browser
synced 2025-12-12 22:33:35 +00:00
implement search service
This commit is contained in:
@@ -225,7 +225,7 @@ export class Program {
|
||||
.action(async (object, cmd) => {
|
||||
await this.exitIfLocked();
|
||||
const command = new ListCommand(this.main.cipherService, this.main.folderService,
|
||||
this.main.collectionService, this.main.userService);
|
||||
this.main.collectionService, this.main.userService, this.main.searchService);
|
||||
const response = await command.run(object, cmd);
|
||||
this.processResponse(response);
|
||||
});
|
||||
@@ -271,7 +271,8 @@ export class Program {
|
||||
await this.exitIfLocked();
|
||||
const command = new GetCommand(this.main.cipherService, this.main.folderService,
|
||||
this.main.collectionService, this.main.totpService, this.main.auditService,
|
||||
this.main.cryptoService, this.main.tokenService, this.main.userService);
|
||||
this.main.cryptoService, this.main.tokenService, this.main.userService,
|
||||
this.main.searchService);
|
||||
const response = await command.run(object, id, cmd);
|
||||
this.processResponse(response);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user