feat: add disable option for LNURLw (#70)

This commit is contained in:
Tiago Vasconcelos 2026-03-17 21:41:17 +00:00 committed by GitHub
commit 74852e3494
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 76 additions and 7 deletions

View file

@ -15,6 +15,7 @@ class CreateWithdrawData(BaseModel):
webhook_headers: str = Query(None)
webhook_body: str = Query(None)
custom_url: str = Query(None)
enabled: bool = Query(True)
class WithdrawLink(BaseModel):
@ -37,6 +38,7 @@ class WithdrawLink(BaseModel):
webhook_body: str = Query(None)
custom_url: str = Query(None)
created_at: datetime
enabled: bool = Query(True)
lnurl: str | None = Field(
default=None,
no_database=True,