'path' -> 'args' on REST API events

This commit is contained in:
jesopo 2019-09-20 10:48:24 +01:00
parent d75d751295
commit 1fac9135fb

View file

@ -110,7 +110,7 @@ class Handler(http.server.BaseHTTPRequestHandler):
try:
event_response = _events.on("api").on(method).on(
endpoint).call_for_result_unsafe(params=params,
path=args, data=data, headers=headers,
args=args, data=data, headers=headers,
response=response, url_for=self._url_for(headers))
except Exception as e:
_log.error("failed to call API endpoint \"%s\"",