Commit 5fab5bf5 authored by Enrique's avatar Enrique
Browse files

forgotten json content type in the new entry creation

parent ccf9fddd
Pipeline #78658 failed with stage
in 20 seconds
......@@ -44,7 +44,7 @@ class ZenodoAPI:
headers = {"Content-Type": "application/json"}
parameters = {'access_token': self.access_token}
return, headers=headers, params=parameters)
return, json={}, headers=headers, params=parameters)
def upload_file_entry(self, entry_id, name_file, path_file):
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