From 57042d9ed0849dda714eeadc79078f8cff266d4a Mon Sep 17 00:00:00 2001 From: Riccardo Balbo Date: Sat, 26 Oct 2024 11:34:38 +0200 Subject: [PATCH] use cross-fetch because native fetch doesn't support agents --- wallets/lnbits/server.js | 1 + 1 file changed, 1 insertion(+) diff --git a/wallets/lnbits/server.js b/wallets/lnbits/server.js index 768990db..1d200aa2 100644 --- a/wallets/lnbits/server.js +++ b/wallets/lnbits/server.js @@ -1,5 +1,6 @@ import { msatsToSats } from '@/lib/format' import { getAgent } from '@/lib/proxy' +import fetch from 'cross-fetch' export * from 'wallets/lnbits'