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

This commit is contained in:
Morgan 2023-11-22 13:39:00 +02:00 committed by GitHub
parent cb7ddc455a
commit d04226ab9a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,