fix: alby payment isPaid always false on create (#12463)

This commit is contained in:
Morgan authored and GitHub committed 2023-11-22 11:39:00 +00:00
1 parent cb7ddc455a
commit d04226ab9a
1 file changed
+1 -1
@@ -74,7 +74,7 @@ export class PaymentService implements IAbstractPaymentService {
currency: payment.currency,
data: Object.assign(
{},
{ invoice: { ...invoice, isPaid: await invoice.isPaid() } }
{ invoice: { ...invoice, isPaid: false } }
) as unknown as Prisma.InputJsonValue,
fee: 0,
refunded: false,