Skip to content
Snippets Groups Projects
Commit 72f06d84 authored by Enrique's avatar Enrique
Browse files

typo in json.dumps(data) command

parent 5fab5bf5
No related branches found
No related tags found
No related merge requests found
......@@ -92,7 +92,7 @@ class ZenodoAPI:
headers = {"Content-Type": "application/json"}
parameters = {'access_token': self.access_token}
return requests.put(url, data=json.dump(data), headers=headers, params=parameters)
return requests.put(url, data=json.dumps(data), headers=headers, params=parameters)
def erase_file_entry(self, entry_id, file_id):
"""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment