Add missing await operator

This commit is contained in:
Pieter Vander Vennet 2022-12-16 01:02:46 +01:00
parent 0074e39934
commit dd21b21240
2 changed files with 2 additions and 2 deletions

View file

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

View file

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