[fix]: Loan id
This commit was merged in pull request #5.
This commit is contained in:
@@ -43,10 +43,9 @@ class ProvideLoanService(BaseService):
|
||||
}), 400
|
||||
|
||||
# Save the loan details
|
||||
loan_id = f"loan_{transaction.id}"
|
||||
loan_id = f"loan_{transaction_id}"
|
||||
|
||||
loan = Loan.create_loan(
|
||||
id=loan_id,
|
||||
customer_id=customer_id,
|
||||
account_id=account_id,
|
||||
offer_id=validated_data.get('offerId'),
|
||||
|
||||
Reference in New Issue
Block a user