From ba579c4f801be258128294e7cb1f4d2e518e37ca Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Wed, 4 Mar 2026 09:23:03 -0800 Subject: fix api calls --- src/routes/(app)/+layout.svelte | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/routes/(app)/+layout.svelte') diff --git a/src/routes/(app)/+layout.svelte b/src/routes/(app)/+layout.svelte index 248206fb..991171be 100644 --- a/src/routes/(app)/+layout.svelte +++ b/src/routes/(app)/+layout.svelte @@ -104,8 +104,8 @@ try { const { serverArkAddress, amount, iid } = result.forward; const txid = await sendArk(serverArkAddress, amount); - await post("/api/ark/vault-send", { hash: txid, amount, aid }); - await post("/api/ark/receive", { amount, hash: txid, iid }); + await post("/ark/vault-send", { hash: txid, amount, aid }); + await post("/ark/receive", { amount, hash: txid, iid }); } catch (e) { console.error("Ark custodial forward failed:", e); } finally { -- cgit v1.2.3