From 46b1b32708329135ee84f40b809e1aa9ba521782 Mon Sep 17 00:00:00 2001 From: Jim Martens Date: Thu, 17 Aug 2023 01:52:50 +0200 Subject: [PATCH] Properties must be changeable with setters --- .../de/twomartens/wahlrecht/property/ServiceProperties.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module-server/src/main/kotlin/de/twomartens/wahlrecht/property/ServiceProperties.kt b/module-server/src/main/kotlin/de/twomartens/wahlrecht/property/ServiceProperties.kt index fe1905a..9f4825b 100644 --- a/module-server/src/main/kotlin/de/twomartens/wahlrecht/property/ServiceProperties.kt +++ b/module-server/src/main/kotlin/de/twomartens/wahlrecht/property/ServiceProperties.kt @@ -9,4 +9,4 @@ import java.time.ZoneId @RefreshScope @ConfigurationProperties(prefix = "de.twomartens.wahlrecht") @Schema(description = "Properties, to configure this Application") -data class ServiceProperties @ConstructorBinding constructor(val defaultTimeZone: ZoneId, val greeting: String) +data class ServiceProperties @ConstructorBinding constructor(var defaultTimeZone: ZoneId, var greeting: String)