diff --git a/src/main/java/com/enofex/naikan/model/Bom.java b/src/main/java/com/enofex/naikan/model/Bom.java index 29dadaf..bda7041 100644 --- a/src/main/java/com/enofex/naikan/model/Bom.java +++ b/src/main/java/com/enofex/naikan/model/Bom.java @@ -15,7 +15,7 @@ public record Bom(String id, String bomFormat, String specVersion, LocalDateTime bomFormat = bomFormat != null ? bomFormat : BOM_FORMAT; specVersion = specVersion != null ? specVersion : BomSchema.VERSION_LATEST.version(); timestamp = timestamp != null ? timestamp : LocalDateTime.now(); - environments = environments != null ? environments : environments.empty(); + environments = environments != null ? environments : Environments.empty(); teams = teams != null ? teams : Teams.empty(); developers = developers != null ? developers : Developers.empty(); contacts = contacts != null ? contacts : Contacts.empty();