aboutsummaryrefslogtreecommitdiffstats
path: root/index.ts
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2024-10-01 15:50:46 -0700
committerAdam Soltys <[email protected]>2024-10-01 15:50:46 -0700
commit80470a2c66c17e4992f176438025b2b021581d11 (patch)
tree0f541e280fcaa86f52bc6578af4ce62901ba2518 /index.ts
parent426127506daa5f5e4c7ec851361bb54d4f769400 (diff)
downloadcoinos-server-80470a2c66c17e4992f176438025b2b021581d11.tar.gz
coinos-server-80470a2c66c17e4992f176438025b2b021581d11.zip
getpayment helper
Diffstat (limited to 'index.ts')
-rw-r--r--index.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/index.ts b/index.ts
index 885cbf2e..76340303 100644
--- a/index.ts
+++ b/index.ts
@@ -3,7 +3,7 @@ import { auth, admin, optional } from "$lib/auth";
import { listenForLightning } from "$lib/lightning";
import { getLocations } from "$lib/locations";
-import { catchUp } from "$lib/payments";
+import { catchUp, check} from "$lib/payments";
import { getFx } from "$lib/rates";
import { sendHeartbeat } from "$lib/sockets";
import { fillPool } from "$lib/nostr";
@@ -28,6 +28,7 @@ try {
getFx();
catchUp();
nwc();
+ check();
} catch (e) {
console.log(e);
}