fix: webhook call on invoice pay (#3119)

This commit is contained in:
Vlad Stan
2025-04-28 12:28:27 +03:00
committed by GitHub
parent 56c8783d9a
commit 6c2b312c92
4 changed files with 25 additions and 14 deletions
+1 -1
View File
@@ -508,7 +508,7 @@ async def is_internal_status_success(
return payment.status == PaymentState.SUCCESS.value
async def mark_webhook_sent(payment_hash: str, status: int) -> None:
async def mark_webhook_sent(payment_hash: str, status: str) -> None:
await db.execute(
"""
UPDATE apipayments SET webhook_status = :status