Skip to content
Permalink
Browse files
AIRAVATA-3420 For backwards compat, keep file hidden attribute
  • Loading branch information
machristie committed Apr 28, 2021
1 parent c8cacc2 commit 7d06516eebd73bb81680ba1838681b7bacacd183
Showing 1 changed file with 2 additions and 0 deletions.
@@ -387,6 +387,8 @@ def get_file_metadata(request, path, storage_resource_id=None):
mime_type = data_product.productMetadata['mime-type']
file['data-product-uri'] = data_product_uri
file['mime_type'] = mime_type
# TODO: remove this, there's no need for hidden files
file['hidden'] = False
return file
else:
raise ObjectDoesNotExist("File does not exist at that path.")

0 comments on commit 7d06516

Please sign in to comment.