diff options
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/locations.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/locations.js b/lib/locations.js index 39883555..29ff4c07 100644 --- a/lib/locations.js +++ b/lib/locations.js @@ -8,7 +8,10 @@ export let getLocations = async () => { ).json(); locations = locations.filter( - l => l["osm_json"].tags && l["osm_json"].tags["payment:coinos"] === "yes" + l => + l["osm_json"].tags && + l["osm_json"].tags["payment:coinos"] === "yes" && + l["osm_json"]["type"] === "node" ); await s("locations", locations); |
