diff --git a/jslib b/jslib index 42dbdb0043..5db115ae43 160000 --- a/jslib +++ b/jslib @@ -1 +1 @@ -Subproject commit 42dbdb0043842810fb084370f886bd2ea9406b9f +Subproject commit 5db115ae43018a34c87f00207498f2e768e4f9e5 diff --git a/src/program.ts b/src/program.ts index 5d8a68db6f..b0a388c8e8 100644 --- a/src/program.ts +++ b/src/program.ts @@ -271,8 +271,7 @@ 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.searchService); + this.main.cryptoService, this.main.userService, this.main.searchService); const response = await command.run(object, id, cmd); this.processResponse(response); }); @@ -304,7 +303,7 @@ export class Program { .action(async (object, encodedJson, cmd) => { await this.exitIfLocked(); 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); this.processResponse(response); }); @@ -365,7 +364,7 @@ export class Program { .action(async (object, id, cmd) => { await this.exitIfLocked(); const command = new DeleteCommand(this.main.cipherService, this.main.folderService, - this.main.tokenService); + this.main.userService); const response = await command.run(object, id, cmd); this.processResponse(response); });