From 38f4a5f5302d73dd89e85a50247b79a444796ddb Mon Sep 17 00:00:00 2001 From: Juan P Lopez Date: Tue, 13 Feb 2024 15:05:19 -0500 Subject: [PATCH] fix(pay): codegen issues --- apps/pay/app/lnurlp/[username]/route.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/pay/app/lnurlp/[username]/route.ts b/apps/pay/app/lnurlp/[username]/route.ts index 42e9102fd2..d803b3bb7d 100644 --- a/apps/pay/app/lnurlp/[username]/route.ts +++ b/apps/pay/app/lnurlp/[username]/route.ts @@ -2,8 +2,8 @@ import { NextResponse } from "next/server" import { env } from "../../../env" import { - AccountDefaultWalletsDocument, - AccountDefaultWalletsQuery, + AccountDefaultWalletDocument, + AccountDefaultWalletQuery, RealtimePriceInitialDocument, RealtimePriceInitialQuery, } from "../../../lib/graphql/generated" @@ -50,8 +50,8 @@ export async function GET( let walletId: string | null = null try { - const { data } = await client.query({ - query: AccountDefaultWalletsDocument, + const { data } = await client.query({ + query: AccountDefaultWalletDocument, variables: { username, walletCurrency: "BTC" }, context: { "x-real-ip": request.headers.get("x-real-ip"),