1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-10 05:13:29 +00:00

[PM-13758] Ensure decrypted cipherId is used for event collection in get command (#12459)

This commit is contained in:
Rui Tomé
2025-01-10 11:16:51 +00:00
committed by GitHub
parent 653b730969
commit c1e3836cc3

View File

@@ -152,11 +152,9 @@ export class GetCommand extends DownloadCommand {
}
}
// FIXME: Verify that this floating promise is intentional. If it is, add an explanatory comment and ensure there is proper error handling.
// eslint-disable-next-line @typescript-eslint/no-floating-promises
this.eventCollectionService.collect(
await this.eventCollectionService.collect(
EventType.Cipher_ClientViewed,
id,
decCipher.id,
true,
decCipher.organizationId,
);