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']