group edit view and API

pull/156/head^2 v0.80.53
hunterlong 2019-03-21 22:41:18 -07:00
parent bc50771d8a
commit 25471c7587
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ func apiGroupUpdateHandler(w http.ResponseWriter, r *http.Request) {
vars := mux.Vars(r)
group := core.SelectGroup(utils.ToInt(vars["id"]))
if group == nil {
sendErrorJson(errors.New("service not found"), w, r)
sendErrorJson(errors.New("group not found"), w, r)
return
}
decoder := json.NewDecoder(r.Body)