commit 1c61378186c012a5cac5be6c146fdd36c11f1279
parent d059c1c1012abc1784e0ff117ca3131aa0b13aaa
Author: Andreas Gruhler <andreas.gruhler@adfinis.com>
Date: Sun, 10 Dec 2023 20:57:39 +0100
fix(config): wrong horizon override
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/config/config.go b/config/config.go
@@ -78,7 +78,7 @@ func (c *Config) LoadConfig(path string) (*Config, error) {
c.Calendar = viper.GetInt("CALENDAR")
}
if viper.IsSet("HORIZON") {
- c.Calendar = viper.GetInt("HORIZON")
+ c.Horizon = viper.GetInt("HORIZON")
}
if viper.IsSet("CALDAV_USER") {
c.CaldavUser = viper.GetString("CALDAV_USER")