diff --git a/app/routes/autocall.py b/app/routes/autocall.py index 7738d7d..1c30717 100644 --- a/app/routes/autocall.py +++ b/app/routes/autocall.py @@ -168,7 +168,7 @@ def salary_detect(): try: loan_dict = loan.to_dict() repayment_data = { - "customerId": loan_dict["customer_id"], + "customerId": loan_dict.customer_id, "loanId": loan_dict["debtId"], "productId": loan_dict["productId"], "transactionId": loan_dict["transactionId"],