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 _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)
|
||||
|
|
Loading…
Reference in a new issue