mirror of
https://github.com/bitwarden/browser
synced 2025-12-22 03:03:43 +00:00
Use Get command for final return value of edit (#290)
This commit is contained in:
@@ -198,7 +198,9 @@ export class SendProgram extends Program {
|
||||
})
|
||||
.action(async (encodedJson: string, options: program.OptionValues) => {
|
||||
await this.exitIfLocked();
|
||||
const cmd = new SendEditCommand(this.main.sendService, this.main.userService);
|
||||
const getCmd = new SendGetCommand(this.main.sendService, this.main.environmentService,
|
||||
this.main.searchService, this.main.cryptoService);
|
||||
const cmd = new SendEditCommand(this.main.sendService, this.main.userService, getCmd);
|
||||
const response = await cmd.run(encodedJson, options);
|
||||
this.processResponse(response);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user