Commit e0f36261 authored by Enrique Garcia's avatar Enrique Garcia
Browse files

add forgotten token_zenodo to upload_file_method

parent 7c410898
......@@ -70,7 +70,7 @@ class ZenodoAPI:
url = f"{bucket_url}/{name_file}"
with open(path_file, 'rb') as upload_file:
upload = requests.put(url, data=upload_file)
upload = requests.put(url, data=upload_file, params=parameters)
return upload.json()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment