We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a736fb5 commit 808a45cCopy full SHA for 808a45c
invenio_rdm_records/services/github/release.py
@@ -64,7 +64,9 @@ def metadata(self):
64
65
# Add default license if not yet added
66
if not output.get("rights"):
67
- output.update({"rights": [{"id": metadata.repo_license or "cc-by-4.0"}]})
+ output.update(
68
+ {"rights": [{"id": metadata.repo_license.lower() or "cc-by-4.0"}]}
69
+ )
70
return output
71
72
def get_custom_fields(self):
0 commit comments