Add missing return

This commit is contained in:
maru 2024-04-08 20:47:23 -04:00
parent 5778675171
commit 977a05049e
No known key found for this signature in database
GPG Key ID: 37689350E9CD0F0D

View File

@ -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)