fix: datetime model
This commit is contained in:
parent
3ca9d35a5d
commit
d0e5e42398
1 changed files with 2 additions and 2 deletions
|
|
@ -44,7 +44,7 @@ class WithdrawLink(BaseModel):
|
||||||
webhook_headers: str = Query(None)
|
webhook_headers: str = Query(None)
|
||||||
webhook_body: str = Query(None)
|
webhook_body: str = Query(None)
|
||||||
custom_url: str = Query(None)
|
custom_url: str = Query(None)
|
||||||
created_at: datetime = datetime.now(timezone.utc)
|
created_at: datetime
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def is_spent(self) -> bool:
|
def is_spent(self) -> bool:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue