Skip to content

Commit

Permalink
merge: #104 from bloo-dye/fix-rightslist
Browse files Browse the repository at this point in the history
  • Loading branch information
alycejenni authored Apr 25, 2024
2 parents 59942cf + 4023cb7 commit e3d5bf5
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 e3d5bf5

Please sign in to comment.