make payment.extra non-optional

this makes handling in tasks.py so much easier
This commit is contained in:
Pavol Rusnak
2023-01-05 09:22:34 +01:00
parent 301a784e95
commit 191ad1e224
13 changed files with 16 additions and 25 deletions
+1 -1
View File
@@ -88,7 +88,7 @@ class Payment(BaseModel):
preimage: str
payment_hash: str
expiry: Optional[float]
extra: Optional[Dict] = {}
extra: Dict = {}
wallet_id: str
webhook: Optional[str]
webhook_status: Optional[int]