diff options
| author | pg9182 <96569817+pg9182@users.noreply.github.com> | 2022-10-19 04:47:52 -0400 |
|---|---|---|
| committer | pg9182 <96569817+pg9182@users.noreply.github.com> | 2022-10-19 04:47:52 -0400 |
| commit | 9eac27b7748f0243dc81e5071cf8e79907e9705e (patch) | |
| tree | c14387d6a86ace622480c7b9b9c38fe63658a92c /pkg | |
| parent | 1df6f9a765a9f4371757545be963c1fcb2bafa95 (diff) | |
| download | Atlas-9eac27b7748f0243dc81e5071cf8e79907e9705e.tar.gz Atlas-9eac27b7748f0243dc81e5071cf8e79907e9705e.zip | |
pk/api/api0: Fix /server/remove_server success HTTP status
Diffstat (limited to 'pkg')
| -rw-r--r-- | pkg/api/api0/server.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/api/api0/server.go b/pkg/api/api0/server.go index 9834c1b..14edc35 100644 --- a/pkg/api/api0/server.go +++ b/pkg/api/api0/server.go @@ -384,7 +384,7 @@ func (h *Handler) handleServerRemove(w http.ResponseWriter, r *http.Request) { } h.ServerList.DeleteServerByID(id) - respJSON(w, r, http.StatusForbidden, map[string]any{ + respJSON(w, r, http.StatusOK, map[string]any{ "success": true, }) } |
