From b8c1e434d8f342d15a211210adbfcbba0cf01fc4 Mon Sep 17 00:00:00 2001 From: "sumathi.thirumani" Date: Thu, 9 May 2024 12:37:23 -0700 Subject: [PATCH] Changes to resolve the cron error [Parse values] --- .../request_api/services/external/axissyncservice.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/request-management-api/request_api/services/external/axissyncservice.py b/request-management-api/request_api/services/external/axissyncservice.py index 784593adb..80d06c0b8 100644 --- a/request-management-api/request_api/services/external/axissyncservice.py +++ b/request-management-api/request_api/services/external/axissyncservice.py @@ -65,8 +65,8 @@ def updatepagecount(self, requests, axisresponse): axisrequestid = entry["axisrequestid"] entry["updatedby"] = 'System' entry["updated_at"] = datetime2.now() - entry["axispagecount"] = axisresponse[axisrequestid] if axisrequestid in axisresponse else entry["axispagecount"] - entry["axislanpagecount"] = axisresponse[axisrequestid] if axisrequestid in axisresponse else entry["axislanpagecount"] + entry["axispagecount"] = axisresponse[axisrequestid]["requestpagepount"] if axisrequestid in axisresponse else entry["axispagecount"] + entry["axislanpagecount"] = axisresponse[axisrequestid]["lanpagepount"] if axisrequestid in axisresponse else entry["axislanpagecount"] return requests