Skip to content

Scheduling infrastructure for absolutely everyone.

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

Morgand04226ab9aef
diff --git a/packages/app-store/alby/lib/PaymentService.ts b/packages/app-store/alby/lib/PaymentService.ts
index 71e9c3e8514..c29b08427a4 100644
--- a/packages/app-store/alby/lib/PaymentService.ts
+++ b/packages/app-store/alby/lib/PaymentService.ts
@@ -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,