diff --git a/app/models/repayment.py b/app/models/repayment.py index 91850c4..3e19ad3 100644 --- a/app/models/repayment.py +++ b/app/models/repayment.py @@ -33,7 +33,6 @@ class Repayment(db.Model): # Check that the loan is active if loan.status != LoanStatus.ACTIVE: raise ValueError(f"Repayment cannot be processed. Loan status: ({loan.status})") - repayment = cls( customer_id=customer_id,