From 9cecd42467dc5bac66b841611b97b574f54749bb Mon Sep 17 00:00:00 2001 From: dni Date: Mon, 25 Jul 2022 12:09:29 +0200 Subject: [PATCH] ignore Body type --- lnbits/core/views/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lnbits/core/views/api.py b/lnbits/core/views/api.py index a3a59a5f..59ce61a9 100644 --- a/lnbits/core/views/api.py +++ b/lnbits/core/views/api.py @@ -261,7 +261,7 @@ async def api_payments_pay_invoice(bolt11: str, wallet: Wallet): ) async def api_payments_create( wallet: WalletTypeInfo = Depends(require_invoice_key), - invoiceData: CreateInvoiceData = Body(...), + invoiceData: CreateInvoiceData = Body(...), #type: ignore ): if invoiceData.out is True and wallet.wallet_type == 0: if not invoiceData.bolt11: