From 6200fc4dba348e6011a312dce1106a5274abbeb5 Mon Sep 17 00:00:00 2001 From: "CHIEFSOFT\\ameye" Date: Fri, 20 Jun 2025 20:23:05 -0400 Subject: [PATCH] fix ID --- app/routes/autocall.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/routes/autocall.py b/app/routes/autocall.py index ea5db98..927b0bb 100644 --- a/app/routes/autocall.py +++ b/app/routes/autocall.py @@ -167,7 +167,7 @@ def salary_detect(): try: loan_dict = loan.to_dict() repayment_data = { - "customerId": pending_salary.customer_id, + "customerId": loan_dict["customer_id"], "loanId": loan_dict["debtId"], "productId": loan_dict["productId"], "transactionId": loan_dict["transactionId"],