[chore]: remove redundant code

This commit was merged in pull request #16.
This commit is contained in:
VivianDee
2025-04-25 15:34:46 +01:00
parent 851422c335
commit cf0502459b
-2
View File
@@ -31,8 +31,6 @@ class LoanRepaymentSchedule(db.Model):
""" """
Add repayment schedules for a given loan. Add repayment schedules for a given loan.
""" """
if not loan.initial_loan_amount or not loan.installment_amount:
raise ValueError("Loan must have amount and installment_amount set.")
now = datetime.now(timezone.utc) now = datetime.now(timezone.utc)
schedules = [] schedules = []