aboutsummaryrefslogtreecommitdiffstats
path: root/index.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2023-01-17 11:42:57 -0800
committerAdam Soltys <[email protected]>2023-01-17 11:42:57 -0800
commit46913d34e77f19c3dd7c105b1deec452348dd1db (patch)
treea1cdc217ce9f2031bbb4ca6b4aabc1093024161b /index.js
parent220d6d52b8439a81b572a889d7012f826efc55c5 (diff)
downloadcoinos-server-46913d34e77f19c3dd7c105b1deec452348dd1db.tar.gz
coinos-server-46913d34e77f19c3dd7c105b1deec452348dd1db.zip
rename invoice id to hash
Diffstat (limited to 'index.js')
-rw-r--r--index.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/index.js b/index.js
index 4a8fb01a..ec0e4244 100644
--- a/index.js
+++ b/index.js
@@ -1,5 +1,7 @@
import app from "$app";
import { auth, optional } from "$lib/auth";
+
+import { listenForLightning } from "$lib/lightning";
import { getLocations } from "$lib/locations";
import { getRates, sendRates } from "$lib/rates";
import { sendHeartbeat } from "$lib/sockets";
@@ -13,6 +15,8 @@ import users from "$routes/users";
import payments from "$routes/payments";
import requests from "$routes/requests";
+listenForLightning();
+
getLocations();
getRates();