swapped cookieStoreId and storekey
This commit is contained in:
parent
0447e54b1c
commit
53baee1d5c
1 changed files with 1 additions and 2 deletions
|
@ -13,7 +13,7 @@ const identityState = {
|
||||||
if (storageResponse && storeKey in storageResponse) {
|
if (storageResponse && storeKey in storageResponse) {
|
||||||
if (!storageResponse[storeKey].macAddonUUID){
|
if (!storageResponse[storeKey].macAddonUUID){
|
||||||
storageResponse[storeKey].macAddonUUID = uuidv4();
|
storageResponse[storeKey].macAddonUUID = uuidv4();
|
||||||
await this.set(cookieStoreId, storageResponse[cookieStoreId]);
|
await this.set(cookieStoreId, storageResponse[storeKey]);
|
||||||
}
|
}
|
||||||
return storageResponse[storeKey];
|
return storageResponse[storeKey];
|
||||||
}
|
}
|
||||||
|
@ -67,7 +67,6 @@ const identityState = {
|
||||||
await this.remove(cookieStoreId);
|
await this.remove(cookieStoreId);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
console.log(macConfigs, configKey);
|
|
||||||
if (!macConfigs[configKey].macAddonUUID) {
|
if (!macConfigs[configKey].macAddonUUID) {
|
||||||
await identityState.storageArea.get(cookieStoreId);
|
await identityState.storageArea.get(cookieStoreId);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue