mirror of
https://github.com/pagefaultgames/rogueserver.git
synced 2025-03-01 20:11:30 +08:00
Add missing return
This commit is contained in:
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…
x
Reference in New Issue
Block a user