diff --git a/modules/rest_api.py b/modules/rest_api.py index 0c58fa6b..3a08cf70 100644 --- a/modules/rest_api.py +++ b/modules/rest_api.py @@ -39,8 +39,8 @@ 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, - separators=(",", ":")) + response = json.dumps(event_response, + sort_keys=True, separators=(",", ":")) else: response = json.dumps(event_response, sort_keys=True, indent=4)