Add missing return
parent
5778675171
commit
977a05049e
|
@ -201,6 +201,7 @@ func (s *Server) ServeHTTP(w http.ResponseWriter, r *http.Request) {
|
|||
|
||||
if save == nil {
|
||||
w.WriteHeader(http.StatusOK)
|
||||
return
|
||||
}
|
||||
|
||||
response, err := json.Marshal(save)
|
||||
|
|
Loading…
Reference in New Issue