Commit 72f06d84 authored by Enrique Garcia's avatar Enrique Garcia
Browse files

typo in json.dumps(data) command

parent 5fab5bf5
Pipeline #78659 failed with stage
in 17 seconds
......@@ -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):
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