Skip to content

Commit

Permalink
Merge pull request #5526 from bcgov/test-marshal-MD-correspondenceupdate
Browse files Browse the repository at this point in the history
Applicant Correspondence - Handle undefined requestids on backend
  • Loading branch information
milosdes authored Jan 16, 2025
2 parents 0c449cb + 58a9b0f commit cb0d1bb
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@ class FOIFlowApplicantCorrespondence(Resource):
def get(requestid, ministryrequestid):
try:
if ministryrequestid == 'None':
if requestid == 'undefined':
return json.dumps([]) , 200
rawrequestid = requestid
else:
rawrequestid = requestservice().getrawrequestidbyfoirequestid(requestid)
Expand Down

0 comments on commit cb0d1bb

Please sign in to comment.