make test run again, introduce mypy again

This commit is contained in:
dni
2022-07-25 12:03:06 +02:00
parent 88ee5fd6cc
commit 463fbb39bd
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -248,7 +248,7 @@ async def api_payments_pay_invoice(bolt11: str, wallet: Wallet):
)
async def api_payments_create(
wallet: WalletTypeInfo = Depends(require_invoice_key),
invoiceData=Body(...),
invoiceData: CreateInvoiceData = Body(...),
):
if invoiceData.out is True and wallet.wallet_type == 0:
if not invoiceData.bolt11: