fix: zebedee callback not marking invoice as paid (#318)

This commit is contained in:
Ricardo Arturo Cabral Mejía
2023-05-24 21:13:00 -04:00
committed by GitHub
parent 2335a57096
commit a2670d030e

View File

@@ -75,7 +75,7 @@ export class ZebedeeCallbackController implements IController {
try {
await this.paymentsService.confirmInvoice({
id: invoice.id,
confirmedAt: updatedInvoice.confirmedAt,
confirmedAt: invoice.confirmedAt,
amountPaid: invoice.amountRequested,
})
await this.paymentsService.sendInvoiceUpdateNotification(updatedInvoice)