From 46913d34e77f19c3dd7c105b1deec452348dd1db Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Tue, 17 Jan 2023 11:42:57 -0800 Subject: rename invoice id to hash --- index.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'index.js') 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(); -- cgit v1.2.3