Skip to content
This repository has been archived by the owner on Dec 7, 2023. It is now read-only.

Commit

Permalink
chore: commentAllowed for lnurl (#548)
Browse files Browse the repository at this point in the history
  • Loading branch information
sandipndev authored Nov 1, 2023
1 parent e180e7d commit f200473
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/lnurlp/[username]/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ import {
} from "../../../lib/graphql/generated"
import { client } from "./graphql"

const COMMENT_SIZE = 2000 // 2000 characters max for GET

const nostrEnabled = !!NOSTR_PUBKEY

export async function GET(
Expand Down Expand Up @@ -88,6 +90,7 @@ export async function GET(
minSendable,
maxSendable,
metadata,
commentAllowed: COMMENT_SIZE,
tag: "payRequest",
...(nostrEnabled
? {
Expand Down

0 comments on commit f200473

Please sign in to comment.