This commit is contained in:
ben
2022-12-01 18:41:58 +00:00
parent 694a4e5054
commit 8ca390e0b0
4 changed files with 11 additions and 9 deletions
+3 -1
View File
@@ -65,7 +65,9 @@ async def on_invoice_paid(payment: Payment) -> None:
except (httpx.ConnectError, httpx.RequestError):
await mark_webhook_sent(payment, -1)
if payment.extra.get("comment"):
await websocketUpdater(copilot.id, str(data) + "-" + str(payment.extra.get("comment")))
await websocketUpdater(
copilot.id, str(data) + "-" + str(payment.extra.get("comment"))
)
await websocketUpdater(copilot.id, str(data) + "-none")