Remove extra await
This commit is contained in:
parent
f451bff6e7
commit
e0ef03b2d2
1 changed files with 2 additions and 3 deletions
|
@ -37,8 +37,7 @@ const backgroundLogic = {
|
||||||
.then(data => {
|
.then(data => {
|
||||||
return data;
|
return data;
|
||||||
});
|
});
|
||||||
|
return mullvadFetchData;
|
||||||
return await mullvadFetchData;
|
|
||||||
},
|
},
|
||||||
|
|
||||||
async getMullvadServers() {
|
async getMullvadServers() {
|
||||||
|
@ -188,7 +187,7 @@ const backgroundLogic = {
|
||||||
if ("isIsolated" in containerState || remove) {
|
if ("isIsolated" in containerState || remove) {
|
||||||
delete containerState.isIsolated;
|
delete containerState.isIsolated;
|
||||||
} else {
|
} else {
|
||||||
containerState.isIsolated = "locked";
|
containerState.isIsolated = "locked";
|
||||||
}
|
}
|
||||||
return await identityState.storageArea.set(cookieStoreId, containerState);
|
return await identityState.storageArea.set(cookieStoreId, containerState);
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue