mirror of
https://github.com/pagefaultgames/rogueserver.git
synced 2025-04-04 20:17:15 +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 {
|
if save == nil {
|
||||||
w.WriteHeader(http.StatusOK)
|
w.WriteHeader(http.StatusOK)
|
||||||
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
response, err := json.Marshal(save)
|
response, err := json.Marshal(save)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user