diff --git a/src/main/java/ch/ethz/seb/sebserver/gbl/model/sebconfig/ConfigurationNode.java b/src/main/java/ch/ethz/seb/sebserver/gbl/model/sebconfig/ConfigurationNode.java index f2640c23..c78a8a92 100644 --- a/src/main/java/ch/ethz/seb/sebserver/gbl/model/sebconfig/ConfigurationNode.java +++ b/src/main/java/ch/ethz/seb/sebserver/gbl/model/sebconfig/ConfigurationNode.java @@ -87,7 +87,7 @@ public final class ConfigurationNode implements GrantEntity { this.templateId = (templateId != null) ? templateId : DEFAULT_TEMPLATE_ID; this.name = name; this.description = description; - this.type = type; + this.type = (type != null) ? type : ConfigurationType.EXAM_CONFIG; this.owner = owner; this.status = status; }