Skip to content

Commit

Permalink
adapt to zenodo api changes
Browse files Browse the repository at this point in the history
  • Loading branch information
FynnBe committed Oct 24, 2023
1 parent 931bd3e commit abca5b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/update_external_resources.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ def update_from_zenodo(
new_version = {
"version_id": version_id,
"doi": doi,
"owners": [hit["owner"]],
"owners": [owner["id"] for owner in hit["owners"]],
"created": str(created),
"status": "accepted", # default to accepted
"rdf_source": rdf_source,
Expand Down

0 comments on commit abca5b0

Please sign in to comment.