mirror of
https://github.com/bitwarden/browser
synced 2025-12-11 13:53:34 +00:00
Found another missing await. (#5819)
This commit is contained in:
@@ -293,7 +293,7 @@ export class EnvironmentService implements EnvironmentServiceAbstraction {
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
// If we are setting the region to EU or US, clear the self-hosted URLs
|
// If we are setting the region to EU or US, clear the self-hosted URLs
|
||||||
this.stateService.setEnvironmentUrls(new EnvironmentUrls());
|
await this.stateService.setEnvironmentUrls(new EnvironmentUrls());
|
||||||
if (region === Region.EU) {
|
if (region === Region.EU) {
|
||||||
this.setUrlsInternal(this.euUrls);
|
this.setUrlsInternal(this.euUrls);
|
||||||
} else if (region === Region.US) {
|
} else if (region === Region.US) {
|
||||||
|
|||||||
Reference in New Issue
Block a user