Remove extra await

This commit is contained in:
Maxx Crawford 2021-02-24 15:44:49 -06:00
parent f451bff6e7
commit e0ef03b2d2

View file

@ -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) {