Commit 61a7921a authored by Enrique Garcia's avatar Enrique Garcia
Browse files

update zenodoci scripts with new argument names

parent cac1e215
Pipeline #111333 failed with stages
in 43 seconds
......@@ -107,7 +107,7 @@ def main():
# entry_info['metadata']['doi'] = doi # In the new version of the API the doi is updated automatically.
update_entry = zenodo.update_metadata_entry(
deposition_id,
data=entry_metadata
json_metadata=entry_metadata
)
if update_entry.status_code < 399:
......
......@@ -118,7 +118,7 @@ def main():
# update_entry_info['metadata']['doi'] = doi # In the new version of the API the doi is updated automatically.
update_entry = zenodo.update_metadata_entry(
new_deposition_id,
data=update_entry_metadata
json_metadata=update_entry_metadata
)
if update_entry.status_code < 399:
......
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