Skip to content

Commit

Permalink
MDS-5947 Fixed error when not including linked reports
Browse files Browse the repository at this point in the history
  • Loading branch information
simensma-fresh committed May 21, 2024
1 parent 9072258 commit 4e9b8ee
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def post(self):
cim_or_cpo)


if len(reports):
if reports is not None and len(reports):
report_guids = [r.get('mine_report_definition_guid') for r in reports]
reports = MineReportDefinition.find_by_mine_report_definition_many(report_guids)

Expand Down

0 comments on commit 4e9b8ee

Please sign in to comment.