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