From e0ea06df4572c5183c5a4fd1697ca59c2614672c Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Wed, 16 Oct 2024 15:33:22 -0700 Subject: atomic payment reversal --- lib/locations.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/locations.ts') diff --git a/lib/locations.ts b/lib/locations.ts index 4122c25a..560d5259 100644 --- a/lib/locations.ts +++ b/lib/locations.ts @@ -8,7 +8,7 @@ export let getLocations = async () => { let previous = await g("locations"); let since = await g("locations:since"); if (!since) since = "2022-09-19T00:00:00Z"; - if (Date.now() - new Date(since).getTime() < 60000) return; + if (Date.now() - new Date(since).getTime() < 60000) return; let locations: Array = await got( `https://api.btcmap.org/v2/elements?updated_since=${since}`, -- cgit v1.2.3