From e515ec2625941ae5e9809e71af92ec65f15184b7 Mon Sep 17 00:00:00 2001 From: Matt Gibson Date: Wed, 9 Feb 2022 10:58:53 -0600 Subject: [PATCH] Return response success from create attachmnt (#469) --- src/commands/create.command.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/create.command.ts b/src/commands/create.command.ts index 9ccdff41ceb..72117d0c48a 100644 --- a/src/commands/create.command.ts +++ b/src/commands/create.command.ts @@ -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); }