diff options
| author | Adam Soltys <[email protected]> | 2023-10-06 15:16:17 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2023-10-06 15:16:17 -0700 |
| commit | 70ae78d4765e1fd6c1cc40f439631614fb0885f8 (patch) | |
| tree | 7500994bb8b16b8ed840ad45296c9b399f064a79 /lib | |
| parent | ea0a0b9958ff55a7b501bfab499234764e55c797 (diff) | |
| download | coinos-server-70ae78d4765e1fd6c1cc40f439631614fb0885f8.tar.gz coinos-server-70ae78d4765e1fd6c1cc40f439631614fb0885f8.zip | |
handle pin deletion differently
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); |
