fix: use timestamp placeholder for postgres compat (#51)
* fix: use timestamp placeholder for postgres compat --------- Co-authored-by: Vlad Stan <stan.v.vlad@gmail.com>
This commit is contained in:
parent
5b1fc0ffbe
commit
73e3bab6b3
2 changed files with 11 additions and 4 deletions
10
models.py
10
models.py
|
|
@ -2,9 +2,15 @@ import datetime
|
|||
|
||||
import shortuuid
|
||||
from fastapi import Query, Request
|
||||
from lnurl import Lnurl, LnurlWithdrawResponse
|
||||
|
||||
# TODO remove type: ignore when 0.12.11 is released
|
||||
from lnurl import ( # type: ignore
|
||||
ClearnetUrl, # type: ignore
|
||||
Lnurl,
|
||||
LnurlWithdrawResponse,
|
||||
MilliSatoshi, # type: ignore
|
||||
)
|
||||
from lnurl import encode as lnurl_encode
|
||||
from lnurl.models import ClearnetUrl, MilliSatoshi
|
||||
from pydantic import BaseModel
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue