From 39fbe192878e6fffe1bc90743df43523518d336e Mon Sep 17 00:00:00 2001 From: Nicolas Burtey Date: Tue, 22 Aug 2023 13:35:57 +0100 Subject: [PATCH] chore: set correct argument order --- app/lnurlp/[username]/route.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/lnurlp/[username]/route.ts b/app/lnurlp/[username]/route.ts index 111af47e..7fd96a80 100644 --- a/app/lnurlp/[username]/route.ts +++ b/app/lnurlp/[username]/route.ts @@ -111,7 +111,7 @@ export async function GET( ]) const payServer = GRAPHQL_URI.replace("/graphql", "").replace("api", "pay") - const callback = `${payServer}/${username}/lnurlp/callback` + const callback = `${payServer}/lnurlp/${username}/callback` return NextResponse.json({ callback,