FIX: generate LNURL server-side for unique voucher links (#68)
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
68ff753cfd
commit
8a20df70fe
5 changed files with 19 additions and 3 deletions
|
|
@ -47,6 +47,11 @@ class WithdrawLink(BaseModel):
|
|||
"Example: lnurlw://${window.location.hostname}/lnurlw/${id}"
|
||||
),
|
||||
)
|
||||
lnurl_url: str | None = Field(
|
||||
default=None,
|
||||
no_database=True,
|
||||
description="The raw LNURL callback URL (use for QR code generation)",
|
||||
)
|
||||
|
||||
@property
|
||||
def is_spent(self) -> bool:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue