chore: minor cleanup

This commit is contained in:
andig 2023-12-18 11:31:47 +01:00
parent 0f7729d795
commit 031cf35dd2
4 changed files with 21 additions and 19 deletions

View file

@ -136,7 +136,7 @@ func boolHandler(set func(bool) error, get func() bool) http.HandlerFunc {
}
}
// boolGetHandler retrievs bool api values
// boolGetHandler retrieves bool api values
func boolGetHandler(get func() bool) http.HandlerFunc {
return func(w http.ResponseWriter, r *http.Request) {
jsonResult(w, get())