diff --git a/app/classes/web/routes/api/jsonschema.py b/app/classes/web/routes/api/jsonschema.py index f3676645..3497f052 100644 --- a/app/classes/web/routes/api/jsonschema.py +++ b/app/classes/web/routes/api/jsonschema.py @@ -43,11 +43,11 @@ class ApiJsonSchemaHandler(BaseApiHandler): {"status": "ok", "data": create_role_schema}, ) elif schema_name == "server_patch": - self.finish_json(200, server_patch_schema) + self.finish_json(200, {"status": "ok", "data": server_patch_schema}) elif schema_name == "new_server": self.finish_json( 200, - new_server_schema, + {"status": "ok", "data": new_server_schema}, ) elif schema_name == "user_patch": self.finish_json(