Skip to content
Permalink
Browse files

Fixing linting errors

  • Loading branch information...
machristie committed Oct 9, 2019
1 parent 25bcc10 commit e201154f125d05df5d68bc271432aa3850867e0c
Showing with 2 additions and 2 deletions.
  1. +2 −2 django_airavata/apps/api/views.py
@@ -915,7 +915,7 @@ def tus_upload_finish(request):

def move_input_file(file_path, file_name):
return data_products_helper.move_input_file_upload_from_filepath(
request, file_path, name=file_name)
request, file_path, name=file_name)
data_product = tus.move_tus_upload(uploadURL, move_input_file)
serializer = serializers.DataProductSerializer(
data_product, context={'request': request})
@@ -1457,7 +1457,7 @@ def post(self, request, path="/", format=None):

def move_file(file_path, file_name):
return data_products_helper.move_from_filepath(
request, file_path, path, name=file_name)
request, file_path, path, name=file_name)
data_product = tus.move_tus_upload(uploadURL, move_file)
return self._create_response(request, path, uploaded=data_product)

0 comments on commit e201154

Please sign in to comment.
You can’t perform that action at this time.