diff options
Diffstat (limited to 'src/lib/parse.ts')
| -rw-r--r-- | src/lib/parse.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/parse.ts b/src/lib/parse.ts index 09c6f320..6995f207 100644 --- a/src/lib/parse.ts +++ b/src/lib/parse.ts @@ -1,10 +1,10 @@ -import { auth, get, isLiquid, post } from "$lib/utils"; +import { get, isLiquid, post } from "$lib/utils"; import bip21 from "bip21"; import { validate } from "bitcoin-address-validation"; import { PUBLIC_DOMAIN } from "$env/static/public"; import { redirect } from "@sveltejs/kit"; -export default async (t, host, cookies) => { +export default async (t, host) => { if (!t) return; if (t.startsWith("http")) redirect(307, t); @@ -58,7 +58,7 @@ export default async (t, host, cookies) => { } if (t.startsWith("cashu")) { - let { id } = await post("/cash", { token: t }, auth); + let { id } = await post("/cash", { token: t }); redirect(307, `/ecash/${id}`); } |
