Skip to content

Commit a2670d0

Browse files
authored
fix: zebedee callback not marking invoice as paid (#318)
1 parent 2335a57 commit a2670d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/controllers/callbacks/zebedee-callback-controller.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ export class ZebedeeCallbackController implements IController {
7575
try {
7676
await this.paymentsService.confirmInvoice({
7777
id: invoice.id,
78-
confirmedAt: updatedInvoice.confirmedAt,
78+
confirmedAt: invoice.confirmedAt,
7979
amountPaid: invoice.amountRequested,
8080
})
8181
await this.paymentsService.sendInvoiceUpdateNotification(updatedInvoice)

0 commit comments

Comments
 (0)