review fedback
This commit is contained in:
+2
-2
@@ -187,7 +187,7 @@ const Logic = {
|
||||
};
|
||||
// Handle old style rejection with null and also Promise.reject new style
|
||||
try {
|
||||
return browser.contextualIdentities.get(cookieStoreId) || defaultContainer;
|
||||
return await browser.contextualIdentities.get(cookieStoreId) || defaultContainer;
|
||||
} catch (e) {
|
||||
return defaultContainer;
|
||||
}
|
||||
@@ -356,7 +356,7 @@ const Logic = {
|
||||
},
|
||||
|
||||
getAssignmentObjectByContainer(userContextId) {
|
||||
if (userContextId) {
|
||||
if (!userContextId) {
|
||||
return {};
|
||||
}
|
||||
return browser.runtime.sendMessage({
|
||||
|
||||
Reference in New Issue
Block a user