fix issue #472
This commit is contained in:
parent
32ea1106f9
commit
6ba88d262b
1 changed files with 4 additions and 3 deletions
|
|
@ -1,8 +1,9 @@
|
||||||
|
import time
|
||||||
from sqlite3 import Row
|
from sqlite3 import Row
|
||||||
from typing import Optional
|
from typing import Optional
|
||||||
|
|
||||||
from fastapi.param_functions import Query
|
from fastapi.param_functions import Query
|
||||||
from pydantic import BaseModel
|
from pydantic import BaseModel
|
||||||
import time
|
|
||||||
|
|
||||||
|
|
||||||
class CreateCharge(BaseModel):
|
class CreateCharge(BaseModel):
|
||||||
|
|
@ -23,8 +24,8 @@ class Charges(BaseModel):
|
||||||
onchainwallet: Optional[str]
|
onchainwallet: Optional[str]
|
||||||
onchainaddress: Optional[str]
|
onchainaddress: Optional[str]
|
||||||
lnbitswallet: Optional[str]
|
lnbitswallet: Optional[str]
|
||||||
payment_request: str
|
payment_request: Optional[str]
|
||||||
payment_hash: str
|
payment_hash: Optional[str]
|
||||||
webhook: Optional[str]
|
webhook: Optional[str]
|
||||||
completelink: Optional[str]
|
completelink: Optional[str]
|
||||||
completelinktext: Optional[str] = "Back to Merchant"
|
completelinktext: Optional[str] = "Back to Merchant"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue