Loading go-apps/meep-vis/server/vis.go +2 −2 Original line number Diff line number Diff line Loading @@ -1113,7 +1113,7 @@ func individualSubscriptionGET(w http.ResponseWriter, r *http.Request) { keyName := baseKey + "subscriptions:" + subsIdStr // Find subscription entry in Redis DB v2xMsgJson, err := rc.JSONGetEntry(keyName, ".") v2xMsgJson, _ := rc.JSONGetEntry(keyName, ".") if v2xMsgJson == "" { w.WriteHeader(http.StatusNotFound) return Loading @@ -1121,7 +1121,7 @@ func individualSubscriptionGET(w http.ResponseWriter, r *http.Request) { // Prepare & send v2xMsgSubscription as a response var v2xMsgSubResp V2xMsgSubscription err = json.Unmarshal([]byte(v2xMsgJson), &v2xMsgSubResp) err := json.Unmarshal([]byte(v2xMsgJson), &v2xMsgSubResp) if err != nil { log.Error(err.Error()) errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) Loading Loading
go-apps/meep-vis/server/vis.go +2 −2 Original line number Diff line number Diff line Loading @@ -1113,7 +1113,7 @@ func individualSubscriptionGET(w http.ResponseWriter, r *http.Request) { keyName := baseKey + "subscriptions:" + subsIdStr // Find subscription entry in Redis DB v2xMsgJson, err := rc.JSONGetEntry(keyName, ".") v2xMsgJson, _ := rc.JSONGetEntry(keyName, ".") if v2xMsgJson == "" { w.WriteHeader(http.StatusNotFound) return Loading @@ -1121,7 +1121,7 @@ func individualSubscriptionGET(w http.ResponseWriter, r *http.Request) { // Prepare & send v2xMsgSubscription as a response var v2xMsgSubResp V2xMsgSubscription err = json.Unmarshal([]byte(v2xMsgJson), &v2xMsgSubResp) err := json.Unmarshal([]byte(v2xMsgJson), &v2xMsgSubResp) if err != nil { log.Error(err.Error()) errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) Loading