Found another missing await. (#5819)

This commit is contained in:
Todd Martin 2023-07-13 11:23:04 -04:00 committed by GitHub
parent aa6bb723f2
commit baab72eaf2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -293,7 +293,7 @@ export class EnvironmentService implements EnvironmentServiceAbstraction {
}
} else {
// 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) {
this.setUrlsInternal(this.euUrls);
} else if (region === Region.US) {