This is an automated email from the ASF dual-hosted git repository.
machristie pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/airavata-django-portal.git
The following commit(s) were added to refs/heads/develop by this push:
new 6a9168d AIRAVATA-3485 Support experiment data directory relative path
for getting file metadata
6a9168d is described below
commit 6a9168d524cda3a534e871f64b56423de773b528
Author: Marcus Christie <[email protected]>
AuthorDate: Thu Jul 15 16:31:50 2021 -0400
AIRAVATA-3485 Support experiment data directory relative path for getting
file metadata
---
django_airavata/apps/api/views.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/django_airavata/apps/api/views.py
b/django_airavata/apps/api/views.py
index cb33983..fa8d6b3 100644
--- a/django_airavata/apps/api/views.py
+++ b/django_airavata/apps/api/views.py
@@ -1593,7 +1593,7 @@ class UserStoragePathView(APIView):
data, context={'request': request})
return Response(serializer.data)
else:
- file = user_storage.get_file(request, path)
+ file = user_storage.get_file_metadata(request, path,
experiment_id=experiment_id)
data = {
'isDir': False,
'directories': [],