This commit is contained in:
Kyle Spearrin 2018-08-29 09:36:47 -04:00
parent cfe3d9ae5f
commit 208c7f1996
2 changed files with 4 additions and 5 deletions

2
jslib

@ -1 +1 @@
Subproject commit 42dbdb0043842810fb084370f886bd2ea9406b9f Subproject commit 5db115ae43018a34c87f00207498f2e768e4f9e5

View File

@ -271,8 +271,7 @@ export class Program {
await this.exitIfLocked(); await this.exitIfLocked();
const command = new GetCommand(this.main.cipherService, this.main.folderService, const command = new GetCommand(this.main.cipherService, this.main.folderService,
this.main.collectionService, this.main.totpService, this.main.auditService, this.main.collectionService, this.main.totpService, this.main.auditService,
this.main.cryptoService, this.main.tokenService, this.main.userService, this.main.cryptoService, this.main.userService, this.main.searchService);
this.main.searchService);
const response = await command.run(object, id, cmd); const response = await command.run(object, id, cmd);
this.processResponse(response); this.processResponse(response);
}); });
@ -304,7 +303,7 @@ export class Program {
.action(async (object, encodedJson, cmd) => { .action(async (object, encodedJson, cmd) => {
await this.exitIfLocked(); await this.exitIfLocked();
const command = new CreateCommand(this.main.cipherService, this.main.folderService, const command = new CreateCommand(this.main.cipherService, this.main.folderService,
this.main.tokenService, this.main.cryptoService); this.main.userService, this.main.cryptoService);
const response = await command.run(object, encodedJson, cmd); const response = await command.run(object, encodedJson, cmd);
this.processResponse(response); this.processResponse(response);
}); });
@ -365,7 +364,7 @@ export class Program {
.action(async (object, id, cmd) => { .action(async (object, id, cmd) => {
await this.exitIfLocked(); await this.exitIfLocked();
const command = new DeleteCommand(this.main.cipherService, this.main.folderService, const command = new DeleteCommand(this.main.cipherService, this.main.folderService,
this.main.tokenService); this.main.userService);
const response = await command.run(object, id, cmd); const response = await command.run(object, id, cmd);
this.processResponse(response); this.processResponse(response);
}); });