1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-12 22:33:35 +00:00

implement search service

This commit is contained in:
Kyle Spearrin
2018-08-13 14:38:04 -04:00
parent ee73f9a51a
commit 314cef78fd
8 changed files with 25 additions and 26 deletions

View File

@@ -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);
});