fix /api/info error
All checks were successful
Build Slideshow App / build (amd64, .exe, windows) (push) Successful in 2m2s
Build Slideshow App / build (amd64, , linux) (push) Successful in 2m19s
Build Slideshow App / build (arm, 7, , linux) (push) Successful in 2m14s
Build Slideshow App / build (arm64, , linux) (push) Successful in 2m10s

This commit is contained in:
Adrian Zürcher
2026-02-03 15:03:19 +01:00
parent 1e13a6d4cd
commit 9b4ff41145

View File

@@ -66,7 +66,7 @@ func GetInterval() string {
}
if interval, ok := settings["default_interval"]; ok {
return interval.(string)
return fmt.Sprintf("%v", interval)
}
return "10"
}