Use hash for content_id

pull/1390/head
YuviPanda 2024-12-17 09:30:59 -08:00
rodzic 96057f9821
commit fda5339bd4
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -187,4 +187,4 @@ class Dataverse(DoiProvider):
@property
def content_id(self):
"""The Dataverse persistent identifier."""
return self.url
return hashlib.sha256(self.url.encode()).hexdigest()