[add]: Loan repayment event
This commit is contained in:
@@ -41,9 +41,7 @@ class ProvideLoanService(BaseService):
|
||||
"message": "Failed to log transaction."
|
||||
}), 400
|
||||
|
||||
# Save the loan details
|
||||
loan_id = f"loan_{transaction_id}"
|
||||
|
||||
# Save the loan details
|
||||
loan = Loan.create_loan(
|
||||
customer_id=customer_id,
|
||||
account_id=account_id,
|
||||
|
||||
Reference in New Issue
Block a user