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

The file list from the query is already in the right array format

parent 7e0c33bc
No related branches found
No related tags found
2 merge requests!1605Merge 2.8.2.3 work to main,!1512The file list from the query is already in the right array format
Pipeline #12764 passed
This commit is part of merge request !1512. Comments created here will be created in the context of that merge request.
......@@ -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": [file] for file in data})
make_json = json.dumps({"filesList": data})
else:
self.logger.error(f"ERROR: Failed to fetch products from product ID {product_group_id}")
else:
......
......@@ -901,3 +901,4 @@ 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