typo in modules/rest_api.py; 'resonse' -> 'response'
This commit is contained in:
parent
9c7afe7d2b
commit
b06eff217f
1 changed files with 2 additions and 2 deletions
|
@ -39,8 +39,8 @@ class Handler(http.server.BaseHTTPRequestHandler):
|
||||||
|
|
||||||
if not event_response == None:
|
if not event_response == None:
|
||||||
if _bot.get_setting("api-minify", False):
|
if _bot.get_setting("api-minify", False):
|
||||||
resonse = json.dumps(event_response, sort_keys=True,
|
response = json.dumps(event_response,
|
||||||
separators=(",", ":"))
|
sort_keys=True, separators=(",", ":"))
|
||||||
else:
|
else:
|
||||||
response = json.dumps(event_response,
|
response = json.dumps(event_response,
|
||||||
sort_keys=True, indent=4)
|
sort_keys=True, indent=4)
|
||||||
|
|
Loading…
Reference in a new issue