forked from MapComplete/MapComplete
Chore: make method private, add tests
This commit is contained in:
parent
876c766130
commit
a9e145076d
2 changed files with 7 additions and 2 deletions
|
@ -52,7 +52,7 @@ export class Overpass {
|
|||
return `${this._interpreterUrl}?data=${encodeURIComponent(query)}`
|
||||
}
|
||||
|
||||
public async ExecuteQuery(query: string): Promise<[FeatureCollection, Date]> {
|
||||
private async ExecuteQuery(query: string): Promise<[FeatureCollection, Date]> {
|
||||
const json = await Utils.downloadJson(this.buildUrl(query))
|
||||
|
||||
if (json.elements.length === 0 && json.remark !== undefined) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue