app/storage: Enhancement: Set path with member function rather than

directly

Signed-off-by: Thomas Klaehn <tkl@blackfinn.de>
This commit is contained in:
2025-08-15 09:02:33 +02:00
parent 9cf9fb7263
commit ce31b61b1b
2 changed files with 17 additions and 9 deletions

View File

@@ -27,7 +27,7 @@ func init() {
}
func SetConfigFilePath(path string) {
store.Path = path
store.SetPath(path)
res, err := store.Read()
if err != nil {
logger.Print("unable to read config")