forked from MapComplete/MapComplete
Add missing await operator
This commit is contained in:
parent
0074e39934
commit
dd21b21240
2 changed files with 2 additions and 2 deletions
|
@ -152,7 +152,7 @@ export class ChangesetHandler {
|
||||||
)
|
)
|
||||||
if (hasSpecialMotivationChanges) {
|
if (hasSpecialMotivationChanges) {
|
||||||
// At this point, 'extraMetaTags' will have changed - we need to set the tags again
|
// 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) {
|
} catch (e) {
|
||||||
console.error("Could not open/upload changeset due to ", e)
|
console.error("Could not open/upload changeset due to ", e)
|
||||||
|
|
|
@ -49,7 +49,7 @@ export class Overpass {
|
||||||
bounds.getEast() +
|
bounds.getEast() +
|
||||||
"]"
|
"]"
|
||||||
const query = this.buildScript(bbox)
|
const query = this.buildScript(bbox)
|
||||||
return this.ExecuteQuery(query)
|
return await this.ExecuteQuery(query)
|
||||||
}
|
}
|
||||||
|
|
||||||
public buildUrl(query: string) {
|
public buildUrl(query: string) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue