diff --git a/apps/cli/utilities/aat_wrest/aat_wrest/metadata_wrester.py b/apps/cli/utilities/aat_wrest/aat_wrest/metadata_wrester.py index d9c092d997d82dac3377cb273cd9e5f98f6eabce..2e028b6c3e82b9a8c4f50d14a119617de1b9a168 100644 --- a/apps/cli/utilities/aat_wrest/aat_wrest/metadata_wrester.py +++ b/apps/cli/utilities/aat_wrest/aat_wrest/metadata_wrester.py @@ -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: diff --git a/services/workflow/workflow/server.py b/services/workflow/workflow/server.py index cccb9b15f7eb41d60587cc2b682cb2cd1b14c6a5..d46f75b10d268e181f09956ce5fc0c0a1f211dc3 100644 --- a/services/workflow/workflow/server.py +++ b/services/workflow/workflow/server.py @@ -901,3 +901,4 @@ def main(global_config, **settings): config.add_tween("workflow.server.prometheus_route_timing_factory") return config.make_wsgi_app() +