From 00861b9a53be0e4a262cac15ef1d7a25ea78e9cb Mon Sep 17 00:00:00 2001 From: Sam Leeflang Date: Wed, 18 Dec 2024 23:14:30 +0100 Subject: [PATCH] Fix --- .../dissco/core/translator/terms/BaseDigitalObjectDirector.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/eu/dissco/core/translator/terms/BaseDigitalObjectDirector.java b/src/main/java/eu/dissco/core/translator/terms/BaseDigitalObjectDirector.java index eb8e300..0e29526 100644 --- a/src/main/java/eu/dissco/core/translator/terms/BaseDigitalObjectDirector.java +++ b/src/main/java/eu/dissco/core/translator/terms/BaseDigitalObjectDirector.java @@ -418,7 +418,7 @@ private List assembleDigitalSpecimenEntityRelationships( fdoProperties.getApplicationName(), fdoProperties.getApplicationPID())); } if (ds.getDwcCollectionID() != null && ds.getDwcCollectionID().startsWith("http")) { - relationships.add(addEntityRelationship(HAS_COLLECTION_ID, ds.getDctermsLicense(), + relationships.add(addEntityRelationship(HAS_COLLECTION_ID, ds.getDwcCollectionID(), fdoProperties.getApplicationName(), fdoProperties.getApplicationPID())); } if (ds.getOdsHasCitations() != null) {