mirror of
https://github.com/bitwarden/browser
synced 2025-12-15 15:53:27 +00:00
use cipher id, not search id. resolves #55
This commit is contained in:
2
jslib
2
jslib
Submodule jslib updated: 93244b5c90...9c44fc1329
@@ -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.');
|
||||
|
||||
Reference in New Issue
Block a user