webhook to pay_invoice/fix

This commit is contained in:
Gene Takavic 2022-09-25 18:11:25 +02:00 committed by GitHub
parent 8b3af03519
commit 0bede387f5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -232,6 +232,7 @@ async def pay_invoice(
f"didn't receive checking_id from backend, payment may be stuck in database: {temp_id}"
)
additionals = None
if type(webhook) is str:
webhook_url = webhook
elif type(webhook) is tuple: