Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
milesstoetzner committed Nov 18, 2023
1 parent 4eac52f commit 2de5b80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmds/zenodo/script.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def create_version(id):
# Delete all existing files
if 'files' in data:
for file in data['files']:
r = requests.delete(file['links']['self'], params=params)
r = requests.delete(file['links']['self'], params=params={'access_token': access_token})
print(r.status_code)
print(r.json())

Expand Down

0 comments on commit 2de5b80

Please sign in to comment.