From dcc99b31e1315ecd809bfaca6f7f2b40d2984078 Mon Sep 17 00:00:00 2001 From: Demetrio Girardi Date: Wed, 19 Apr 2023 12:20:20 -0700 Subject: [PATCH] Pair ID system: fix storageManager invocation (#9833) --- modules/pairIdSystem.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/pairIdSystem.js b/modules/pairIdSystem.js index 1f39169d52b..4d73d4efb7e 100644 --- a/modules/pairIdSystem.js +++ b/modules/pairIdSystem.js @@ -8,12 +8,13 @@ import { submodule } from '../src/hook.js'; import {getStorageManager} from '../src/storageManager.js' import { logError } from '../src/utils.js'; +import {MODULE_TYPE_UID} from '../src/activities/modules.js'; const MODULE_NAME = 'pairId'; const PAIR_ID_KEY = 'pairId'; const DEFAULT_LIVERAMP_PAIR_ID_KEY = '_lr_pairId'; -export const storage = getStorageManager() +export const storage = getStorageManager({moduleType: MODULE_TYPE_UID, moduleName: MODULE_NAME}); function pairIdFromLocalStorage(key) { return storage.localStorageIsEnabled ? storage.getDataFromLocalStorage(key) : null;