Add missing return

fix-voucher-compensation
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
1 changed files with 1 additions and 0 deletions

View File

@ -201,6 +201,7 @@ func (s *Server) ServeHTTP(w http.ResponseWriter, r *http.Request) {
if save == nil { if save == nil {
w.WriteHeader(http.StatusOK) w.WriteHeader(http.StatusOK)
return
} }
response, err := json.Marshal(save) response, err := json.Marshal(save)