Skip to content

Commit

Permalink
Merge pull request #4729 from bcgov/dev-DV-4702
Browse files Browse the repository at this point in the history
fixed log error
  • Loading branch information
divyav-aot authored Nov 16, 2023
2 parents efc30d0 + 01a1a44 commit 520cf9f
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 520cf9f

Please sign in to comment.