'path' -> 'args' on REST API events
This commit is contained in:
parent
d75d751295
commit
1fac9135fb
1 changed files with 1 additions and 1 deletions
|
@ -110,7 +110,7 @@ class Handler(http.server.BaseHTTPRequestHandler):
|
||||||
try:
|
try:
|
||||||
event_response = _events.on("api").on(method).on(
|
event_response = _events.on("api").on(method).on(
|
||||||
endpoint).call_for_result_unsafe(params=params,
|
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))
|
response=response, url_for=self._url_for(headers))
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
_log.error("failed to call API endpoint \"%s\"",
|
_log.error("failed to call API endpoint \"%s\"",
|
||||||
|
|
Loading…
Reference in a new issue