mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2025-03-15 12:20:21 +01:00
fix typing issues
This commit is contained in:
parent
646556a457
commit
ed36d01b40
1 changed files with 1 additions and 2 deletions
|
@ -5,7 +5,6 @@ import httpx
|
|||
from loguru import logger
|
||||
|
||||
from lnbits.settings import settings
|
||||
from lnbits.wallets.base import PaymentStatus
|
||||
|
||||
from .base import (
|
||||
InvoiceResponse,
|
||||
|
@ -118,7 +117,7 @@ class ZBDWallet(Wallet):
|
|||
)
|
||||
if decoded_request.is_error:
|
||||
error_message = decoded_request.json()["message"]
|
||||
return InvoiceResponse(False, None, None, error_message)
|
||||
return PaymentResponse(False, None, None, None, error_message)
|
||||
|
||||
decoded_data = decoded_request.json()
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue