Skip to content

Commit

Permalink
Fixing call to get absolute file path
Browse files Browse the repository at this point in the history
  • Loading branch information
tjmadonna committed Feb 13, 2024
1 parent e5c9db6 commit 8d4b812
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/entity_CRUD/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -843,7 +843,7 @@ def publish_datastage(identifier):
abort_bad_req(f"{dataset_uuid} missing contacts or contributors. Must have at least one of each")

ingest_helper = IngestFileHelper(current_app.config)
ds_path = ingest_helper.get_dataset_directory_absolute_path(dataset_data_access_level, dataset_group_uuid, dataset_uuid, False)
ds_path = ingest_helper.get_dataset_directory_absolute_path(entity_dict, dataset_group_uuid, dataset_uuid, False)

md_file = os.path.join(ds_path, "metadata.json")
json_object = entity_json_dumps(entity, auth_tokens, entity_instance)
Expand Down

0 comments on commit 8d4b812

Please sign in to comment.