From 193457c5bd6c7c892c3be50674579dabd07fd2f2 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Fri, 23 Aug 2024 23:39:05 -0700 Subject: use redis to store rates --- index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'index.js') diff --git a/index.js b/index.js index 6b47fce8..5d1a4ebd 100644 --- a/index.js +++ b/index.js @@ -5,7 +5,7 @@ import { fillPool } from "$lib/nostr"; import { listenForLightning } from "$lib/lightning"; import { getLocations } from "$lib/locations"; import { catchUp } from "$lib/payments"; -import { getRates } from "$lib/rates"; +import { getFx } from "$lib/rates"; import { sendHeartbeat } from "$lib/sockets"; import { err } from "$lib/logging"; @@ -26,7 +26,7 @@ import shopify from "$routes/shopify"; try { fillPool(); getLocations(); - getRates(); + getFx(); catchUp(); } catch (e) { console.log(e); -- cgit v1.2.3