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
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:
@@ -66,7 +66,7 @@ func GetInterval() string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if interval, ok := settings["default_interval"]; ok {
|
if interval, ok := settings["default_interval"]; ok {
|
||||||
return interval.(string)
|
return fmt.Sprintf("%v", interval)
|
||||||
}
|
}
|
||||||
return "10"
|
return "10"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user