diff options
Diffstat (limited to 'lib/locations.js')
| -rw-r--r-- | lib/locations.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/locations.js b/lib/locations.js index dc2c9d54..72bc20b5 100644 --- a/lib/locations.js +++ b/lib/locations.js @@ -7,14 +7,14 @@ import { fields, pick } from "$lib/utils"; export let getLocations = async () => { try { let locations = await got( - "https://api.btcmap.org/v2/elements?updated_since=2022-09-19T00:00:00Z" + "https://api.btcmap.org/v2/elements?updated_since=2022-09-19T00:00:00Z", ).json(); locations = locations.filter( (l) => l["osm_json"].tags && l["osm_json"].tags["payment:coinos"] === "yes" && - l["osm_json"]["type"] === "node" + l["osm_json"]["type"] === "node", ); for await (let l of locations) { |
