feat: add disable option for LNURLw (#70)
This commit is contained in:
parent
ab96594f70
commit
74852e3494
7 changed files with 76 additions and 7 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue