diff --git a/request-management-api/request_api/services/requestservice.py b/request-management-api/request_api/services/requestservice.py index 09dc3d766..6c76cce24 100644 --- a/request-management-api/request_api/services/requestservice.py +++ b/request-management-api/request_api/services/requestservice.py @@ -67,8 +67,7 @@ def saverequestversion(self, foirequestschema, foirequestid, ministryid, userid) ) nextstatename = ( nextstate.get("name") - if isinstance(nextstatename, dict) - and nextstatename.get("name") not in (None, "") + if isinstance(nextstate, dict) and nextstate.get("name") not in (None, "") else "" ) rev_foirequestschema = self.updateduedate(