Loading go-apps/meep-vis/server/vis.go +1 −1 Original line number Diff line number Diff line Loading @@ -804,7 +804,7 @@ func subscriptionsPost(w http.ResponseWriter, r *http.Request) { for _, msgTypeString := range v2xSubscription.FilterCriteria.MsgType { msgTypeInt, err := strconv.Atoi(msgTypeString) if msgTypeInt < 0 || msgTypeInt > 255 { if msgTypeInt < 1 || msgTypeInt > 255 { log.Error("MsgType parameter should be between 1 and 255") errHandlerProblemDetails(w, "MsgType parameter should be between 1 and 255 in the request body.", http.StatusBadRequest) return Loading Loading
go-apps/meep-vis/server/vis.go +1 −1 Original line number Diff line number Diff line Loading @@ -804,7 +804,7 @@ func subscriptionsPost(w http.ResponseWriter, r *http.Request) { for _, msgTypeString := range v2xSubscription.FilterCriteria.MsgType { msgTypeInt, err := strconv.Atoi(msgTypeString) if msgTypeInt < 0 || msgTypeInt > 255 { if msgTypeInt < 1 || msgTypeInt > 255 { log.Error("MsgType parameter should be between 1 and 255") errHandlerProblemDetails(w, "MsgType parameter should be between 1 and 255 in the request body.", http.StatusBadRequest) return Loading