From 58e996a4ac227162f171e84530fe898cb504e045 Mon Sep 17 00:00:00 2001 From: John Barratt Date: Tue, 28 Feb 2023 12:20:10 -0800 Subject: add db connect try catch and commit before pull --- lib/locations.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/locations.js') diff --git a/lib/locations.js b/lib/locations.js index 39883555..be2df811 100644 --- a/lib/locations.js +++ b/lib/locations.js @@ -10,7 +10,7 @@ export let getLocations = async () => { locations = locations.filter( l => l["osm_json"].tags && l["osm_json"].tags["payment:coinos"] === "yes" ); - + await s("locations", locations); } catch (e) {} -- cgit v1.2.3