diff --git a/AMW_rest/src/main/java/ch/mobi/itc/mobiliar/rest/dtos/TemplateDTO.java b/AMW_rest/src/main/java/ch/mobi/itc/mobiliar/rest/dtos/TemplateDTO.java index 47dd1324e..a826ebda5 100644 --- a/AMW_rest/src/main/java/ch/mobi/itc/mobiliar/rest/dtos/TemplateDTO.java +++ b/AMW_rest/src/main/java/ch/mobi/itc/mobiliar/rest/dtos/TemplateDTO.java @@ -40,7 +40,6 @@ public class TemplateDTO { private Integer id; private String relatedResourceIdentifier; - private Integer ownerResourceId; private String name; private String targetPath; private Set targetPlatforms; @@ -49,9 +48,6 @@ public class TemplateDTO { public TemplateDTO(TemplateDescriptorEntity template){ this.id = template.getId(); this.relatedResourceIdentifier = template.getRelatedResourceIdentifier(); - if (template.getOwnerResource() != null) { - this.ownerResourceId = template.getOwnerResource().getId(); - } this.name = template.getName(); this.targetPath = template.getTargetPath(); targetPlatforms = new HashSet<>();