1
0
mirror of https://github.com/bitwarden/cli synced 2025-12-26 04:53:15 +00:00

serve command (#451)

This commit is contained in:
Kyle Spearrin
2022-01-19 10:45:14 -05:00
committed by GitHub
parent 84a0bfb07c
commit 922cd1dc54
26 changed files with 2091 additions and 332 deletions

View File

@@ -346,7 +346,7 @@ export class VaultProgram extends Program {
await this.exitIfLocked();
const command = new RestoreCommand(this.main.cipherService);
const response = await command.run(object, id, cmd);
const response = await command.run(object, id);
this.processResponse(response);
});
}
@@ -383,7 +383,7 @@ export class VaultProgram extends Program {
.action(async (id, organizationId, encodedJson, cmd) => {
await this.exitIfLocked();
const command = new ShareCommand(this.main.cipherService);
const response = await command.run(id, organizationId, encodedJson, cmd);
const response = await command.run(id, organizationId, encodedJson);
this.processResponse(response);
});
}