Skip to content

Commit b961fe8

Browse files
committed
refactor: updated getPrivacyFlag for identity cache
1 parent 9cf89ed commit b961fe8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/mp-instance.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1535,7 +1535,7 @@ function createKitBlocker(config, mpInstance) {
15351535

15361536
function createIdentityCache(mpInstance) {
15371537
const cacheKey = `${mpInstance._Store.storageName}-id-cache`;
1538-
if (mpInstance._Store.getNoFunctional()) {
1538+
if (mpInstance._Store.getPrivacyFlag('IdentityCache')) {
15391539
return new DisabledVault(cacheKey, { logger: mpInstance.Logger });
15401540
}
15411541
return new LocalStorageVault(cacheKey, { logger: mpInstance.Logger });

0 commit comments

Comments
 (0)