mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2025-01-18 09:05:15 +01:00
Change http response code for creation error
This commit is contained in:
parent
aa5f7c303b
commit
f0bf9619cd
@ -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",
|
||||
|
Loading…
x
Reference in New Issue
Block a user