mirror of
https://github.com/bitwarden/jslib
synced 2025-12-21 02:33:37 +00:00
Check runtime name vs mangled name (#724)
This commit is contained in:
@@ -1029,7 +1029,7 @@ export class CipherService implements CipherServiceAbstraction {
|
||||
ciphers[c.id].revisionDate = c.revisionDate;
|
||||
};
|
||||
|
||||
if (cipher.constructor.name === "Array") {
|
||||
if (cipher.constructor.name === Array.name) {
|
||||
(cipher as { id: string; revisionDate: string }[]).forEach(clearDeletedDate);
|
||||
} else {
|
||||
clearDeletedDate(cipher as { id: string; revisionDate: string });
|
||||
|
||||
Reference in New Issue
Block a user