mirror of
https://github.com/bitwarden/cli
synced 2025-12-06 04:23:19 +00:00
Return response success from create attachmnt (#469)
This commit is contained in:
@@ -145,7 +145,7 @@ export class CreateCommand {
|
||||
);
|
||||
const updatedCipher = await this.cipherService.get(cipher.id);
|
||||
const decCipher = await updatedCipher.decrypt();
|
||||
const res = new CipherResponse(decCipher);
|
||||
return Response.success(new CipherResponse(decCipher));
|
||||
} catch (e) {
|
||||
return Response.error(e);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user