Fix variable re-use bug

fix-voucher-compensation
maru 2024-04-08 21:34:42 -04:00
parent d97e07b522
commit 85055d2921
No known key found for this signature in database
GPG Key ID: 37689350E9CD0F0D
1 changed files with 1 additions and 1 deletions

View File

@ -199,7 +199,7 @@ func (s *Server) ServeHTTP(w http.ResponseWriter, r *http.Request) {
return
}
if save == nil {
if save == nil || r.URL.Path == "/savedata/update" {
w.WriteHeader(http.StatusOK)
return
}