From 20504aa76fc607f2682834253e2f9e4dcf15be0e Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Fri, 22 Nov 2024 22:59:29 -0800 Subject: api --- lib/ecash.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/ecash.ts b/lib/ecash.ts index f22a1a0e..ade7f220 100644 --- a/lib/ecash.ts +++ b/lib/ecash.ts @@ -99,7 +99,7 @@ export async function init(amount = 100000) { } export function request(uuid, amount, memo) { - const target = `${URL}/ecash/${uuid}`; + const target = `${URL}/api/ecash/${uuid}`; const { POST: type } = PaymentRequestTransportType; const transport = [{ type, target }]; -- cgit v1.2.3