diff --git a/jslib b/jslib index 93244b5c90..9c44fc1329 160000 --- a/jslib +++ b/jslib @@ -1 +1 @@ -Subproject commit 93244b5c90b02ec7a333ffafe8b32a6026c1c7d3 +Subproject commit 9c44fc1329b9595560462ffb7cd4d32bb0e22a68 diff --git a/src/commands/get.command.ts b/src/commands/get.command.ts index 18ead1ba85..c34b955324 100644 --- a/src/commands/get.command.ts +++ b/src/commands/get.command.ts @@ -196,7 +196,7 @@ export class GetCommand { const canAccessPremium = await this.userService.canAccessPremium(); if (!canAccessPremium) { - const originalCipher = await this.cipherService.get(id); + const originalCipher = await this.cipherService.get(cipher.id); if (originalCipher == null || originalCipher.organizationId == null || !originalCipher.organizationUseTotp) { return Response.error('Premium status is required to use this feature.');