fix: v1 changes
This commit is contained in:
parent
134016312f
commit
7ea4146d7f
5 changed files with 38 additions and 31 deletions
|
|
@ -11,7 +11,7 @@ from lnurl import ( # type: ignore
|
|||
MilliSatoshi, # type: ignore
|
||||
)
|
||||
from lnurl import encode as lnurl_encode
|
||||
from pydantic import BaseModel
|
||||
from pydantic import BaseModel, Field
|
||||
|
||||
|
||||
class CreateWithdrawData(BaseModel):
|
||||
|
|
@ -42,7 +42,7 @@ class WithdrawLink(BaseModel):
|
|||
open_time: int = Query(0)
|
||||
used: int = Query(0)
|
||||
usescsv: str = Query(None)
|
||||
number: int = Query(0)
|
||||
number: int = Field(default=0, no_database=True)
|
||||
webhook_url: str = Query(None)
|
||||
webhook_headers: str = Query(None)
|
||||
webhook_body: str = Query(None)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue