Merge pull request #479 from talvasconcelos/issue/472

fix issue #472
This commit is contained in:
Arc 2021-12-30 17:09:39 +00:00 committed by GitHub
commit 79ab444f59
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,8 +1,9 @@
import time
from sqlite3 import Row
from typing import Optional
from fastapi.param_functions import Query
from pydantic import BaseModel
import time
class CreateCharge(BaseModel):
@ -23,8 +24,8 @@ class Charges(BaseModel):
onchainwallet: Optional[str]
onchainaddress: Optional[str]
lnbitswallet: Optional[str]
payment_request: str
payment_hash: str
payment_request: Optional[str]
payment_hash: Optional[str]
webhook: Optional[str]
completelink: Optional[str]
completelinktext: Optional[str] = "Back to Merchant"