diff --git a/Logic/Osm/ChangesetHandler.ts b/Logic/Osm/ChangesetHandler.ts index 689d173cc0..2661f94026 100644 --- a/Logic/Osm/ChangesetHandler.ts +++ b/Logic/Osm/ChangesetHandler.ts @@ -152,7 +152,7 @@ export class ChangesetHandler { ) if (hasSpecialMotivationChanges) { // At this point, 'extraMetaTags' will have changed - we need to set the tags again - this.UpdateTags(csId, extraMetaTags) + await this.UpdateTags(csId, extraMetaTags) } } catch (e) { console.error("Could not open/upload changeset due to ", e) diff --git a/Logic/Osm/Overpass.ts b/Logic/Osm/Overpass.ts index f9ad43f7cb..35e5011855 100644 --- a/Logic/Osm/Overpass.ts +++ b/Logic/Osm/Overpass.ts @@ -49,7 +49,7 @@ export class Overpass { bounds.getEast() + "]" const query = this.buildScript(bbox) - return this.ExecuteQuery(query) + return await this.ExecuteQuery(query) } public buildUrl(query: string) {