Skip to content

Commit c96568b

Browse files
committed
remove redundant code
1 parent 799a7cf commit c96568b

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/api/winning/winning.service.ts

-3
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,6 @@ export class WinningService {
9191
paymentModel.net_amount = Prisma.Decimal(detail.grossAmount);
9292
paymentModel.payment_status = PaymentStatus.ON_HOLD;
9393

94-
if (!hasPaymentMethod) {
95-
paymentModel.payment_status = PaymentStatus.ON_HOLD;
96-
}
9794
if (payrollPayment) {
9895
paymentModel.payment_status = PaymentStatus.PAID;
9996
}

0 commit comments

Comments
 (0)