diff --git a/modules/rest_api.py b/modules/rest_api.py index 83fb893c..0c58fa6b 100644 --- a/modules/rest_api.py +++ b/modules/rest_api.py @@ -39,7 +39,7 @@ class Handler(http.server.BaseHTTPRequestHandler): if not event_response == None: if _bot.get_setting("api-minify", False): - resonse = json.dumps(event_response, sort_keys=True + resonse = json.dumps(event_response, sort_keys=True, separators=(",", ":")) else: response = json.dumps(event_response,