From f0bf9619cdad94a2bfb9cd474694276b72cb0b51 Mon Sep 17 00:00:00 2001 From: = Date: Wed, 2 Oct 2024 17:54:33 -0400 Subject: [PATCH] Change http response code for creation error --- app/classes/web/routes/api/servers/index.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/classes/web/routes/api/servers/index.py b/app/classes/web/routes/api/servers/index.py index dac580e8..ae0590a5 100644 --- a/app/classes/web/routes/api/servers/index.py +++ b/app/classes/web/routes/api/servers/index.py @@ -731,7 +731,7 @@ class ApiServersIndexHandler(BaseApiHandler): self.controller.servers.stats.record_stats() self.finish_json( - 200, + 503, { "status": "error", "error": "Could not create server",