mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-27 12:36:14 +01:00
Return response success from create attachmnt (#469)
This commit is contained in:
parent
6b056d4f80
commit
e515ec2625
@ -145,7 +145,7 @@ export class CreateCommand {
|
|||||||
);
|
);
|
||||||
const updatedCipher = await this.cipherService.get(cipher.id);
|
const updatedCipher = await this.cipherService.get(cipher.id);
|
||||||
const decCipher = await updatedCipher.decrypt();
|
const decCipher = await updatedCipher.decrypt();
|
||||||
const res = new CipherResponse(decCipher);
|
return Response.success(new CipherResponse(decCipher));
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
return Response.error(e);
|
return Response.error(e);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user