Skip to content

Commit

Permalink
fix(pay): codegen issues
Browse files Browse the repository at this point in the history
  • Loading branch information
dolcalmi committed Feb 14, 2024
1 parent 64a0cd6 commit 38f4a5f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions apps/pay/app/lnurlp/[username]/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import { NextResponse } from "next/server"

import { env } from "../../../env"
import {
AccountDefaultWalletsDocument,
AccountDefaultWalletsQuery,
AccountDefaultWalletDocument,
AccountDefaultWalletQuery,
RealtimePriceInitialDocument,
RealtimePriceInitialQuery,
} from "../../../lib/graphql/generated"
Expand Down Expand Up @@ -50,8 +50,8 @@ export async function GET(
let walletId: string | null = null

try {
const { data } = await client.query<AccountDefaultWalletsQuery>({
query: AccountDefaultWalletsDocument,
const { data } = await client.query<AccountDefaultWalletQuery>({
query: AccountDefaultWalletDocument,
variables: { username, walletCurrency: "BTC" },
context: {
"x-real-ip": request.headers.get("x-real-ip"),
Expand Down

0 comments on commit 38f4a5f

Please sign in to comment.