This commit is contained in:
Mukhtar Akere
2025-04-25 12:48:04 +01:00
parent 07f1d0f28d
commit ae5e237379
3 changed files with 23 additions and 12 deletions

View File

@@ -130,7 +130,7 @@ func (c *Config) loadConfig() error {
return fmt.Errorf("error unmarshaling config: %w", err)
}
}
return nil
return c.Save()
}
func validateDebrids(debrids []Debrid) error {
@@ -359,7 +359,7 @@ func (c *Config) createConfig(path string) error {
Categories: []string{"sonarr", "radarr"},
RefreshInterval: 15,
}
return c.Save()
return nil
}
// Reload forces a reload of the configuration from disk