diff options
| author | Adam Soltys <[email protected]> | 2024-08-23 23:39:05 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2024-08-23 23:39:05 -0700 |
| commit | 193457c5bd6c7c892c3be50674579dabd07fd2f2 (patch) | |
| tree | 82792280db6ea9945643a76112a210d904d49239 /index.js | |
| parent | 7be5db4d1dae7226a48623f42aca864adfa54e02 (diff) | |
| download | coinos-server-193457c5bd6c7c892c3be50674579dabd07fd2f2.tar.gz coinos-server-193457c5bd6c7c892c3be50674579dabd07fd2f2.zip | |
use redis to store rates
Diffstat (limited to 'index.js')
| -rw-r--r-- | index.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); |
