Skip to content

Commit

Permalink
Pass trans from cloud_storage api to cloud_storage_manager.
Browse files Browse the repository at this point in the history
  • Loading branch information
VJalili committed Mar 27, 2018
1 parent 2e1fbed commit c725b33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/galaxy/webapps/galaxy/api/cloud_storage.py
Expand Up @@ -74,7 +74,7 @@ def download(self, trans, payload, **kwargs):
return {'status': 'error',
'message': "The following required arguments are missing in the payload: %s" % missing_arguments}

status, message = self.cloud_storage_manager.download(provider=provider, container=container, obj=obj)
status, message = self.cloud_storage_manager.download(trans=trans, provider=provider, container=container, obj=obj)
trans.response.status = 200 if status == 'ok' else 500
return {'status': status, 'message': message}

Expand Down

0 comments on commit c725b33

Please sign in to comment.