[add]: Loan repayment event

This commit is contained in:
VivianDee
2025-04-10 17:15:19 +01:00
parent 6f15ae97f4
commit f252e33be2
5 changed files with 39 additions and 19 deletions
+1 -3
View File
@@ -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,