Skip to content

Commit

Permalink
Fix: allows_nostr can be False
Browse files Browse the repository at this point in the history
  • Loading branch information
AngusP committed May 17, 2024
1 parent e30e7da commit 643510c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class LnurlPayNostrResponse(LnurlResponseModel):
metadata: LnurlPayMetadata

comment_allowed: int | None = Field(None, alias="commentAllowed", ge=1)
allows_nostr: Literal[True] | None = Field(None, alias="allowsNostr")
allows_nostr: bool | None = Field(None, alias="allowsNostr")
nostr_pubkey: str | None = Field(None, alias="nostrPubkey")

@validator("max_sendable")
Expand Down

0 comments on commit 643510c

Please sign in to comment.