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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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)