Skip to content

Commit

Permalink
merge: PR #105 from dev
Browse files Browse the repository at this point in the history
Weekly release 2024-05-07
  • Loading branch information
alycejenni authored May 7, 2024
2 parents 59942cf + e3d5bf5 commit da0aa88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckanext/doi/lib/metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ def _add_required(key, get_func):
license = license_register.get(license_id)
if license is not None:
optional['rightsList'] = [
{'url': license.url, 'identifier': license.id}
{'rightsURI': license.url, 'rightsIdentifier': license.id}
]
except Exception as e:
errors['rightsList'] = e
Expand Down

0 comments on commit da0aa88

Please sign in to comment.