Return response success from create attachmnt (#469)

This commit is contained in:
Matt Gibson 2022-02-09 10:58:53 -06:00 committed by GitHub
parent 6b056d4f80
commit e515ec2625
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}