From 34b70b2bae82eecc265924790c1fdb79a6eaf1bc Mon Sep 17 00:00:00 2001 From: Aman-Hundal Date: Mon, 29 Jul 2024 10:50:36 -0700 Subject: [PATCH] Adjusted request service builder for ministry changes to fix observation 3 bug --- .../services/foirequest/requestserviceministrybuilder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/request-management-api/request_api/services/foirequest/requestserviceministrybuilder.py b/request-management-api/request_api/services/foirequest/requestserviceministrybuilder.py index b68f3f5b1..51e38e7c7 100644 --- a/request-management-api/request_api/services/foirequest/requestserviceministrybuilder.py +++ b/request-management-api/request_api/services/foirequest/requestserviceministrybuilder.py @@ -58,7 +58,7 @@ def createfoiministryrequestfromobject(self, ministryschema, requestschema, user foiministryrequest.cfrduedate = requestdict['cfrduedate'] foiministryrequest.startdate = requestdict['startdate'] foiministryrequest.duedate = requestdict['duedate'] - foiministryrequest.userrecordslockstatus = requestschema['userrecordslockstatus'] + foiministryrequest.userrecordslockstatus = ministryschema['userrecordslockstatus'] foiministryrequest.assignedministrygroup = requestdict['assignedministrygroup'] if 'assignedministryperson' in requestschema and requestschema['assignedministryperson'] not in (None,''): foiministryrequest.assignedministryperson = requestschema['assignedministryperson']