Skip to content
Snippets Groups Projects
Commit b619d8de authored by Nathan Bockisch's avatar Nathan Bockisch
Browse files

Merge branch 'ws-1992-add-image-wrester' into '2.8.2.1-DEVELOMENT'

Final take, data was actually a list of lists, this should fix that

See merge request !1513
parents 0815c50b 9f1ef11b
No related branches found
No related tags found
2 merge requests!1605Merge 2.8.2.3 work to main,!1513Final take, data was actually a list of lists, this should fix that
Pipeline #12767 passed
......@@ -436,7 +436,7 @@ class WrestWorkflowMetadata:
data = cursor.fetchall()
if data:
# This should have all the ancillary and science product names
make_json = json.dumps({"filesList": data})
make_json = json.dumps({"filesList": sum(data, [])})
else:
self.logger.error(f"ERROR: Failed to fetch products from product ID {product_group_id}")
else:
......
......@@ -900,4 +900,3 @@ def main(global_config, **settings):
config.add_tween("workflow.server.prometheus_route_timing_factory")
return config.make_wsgi_app()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment