From 1fac9135fbc95d2b6e2459f001c2d069bd63b0f6 Mon Sep 17 00:00:00 2001 From: jesopo Date: Fri, 20 Sep 2019 10:48:24 +0100 Subject: 'path' -> 'args' on REST API events --- modules/rest_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules') diff --git a/modules/rest_api.py b/modules/rest_api.py index 61ea23ec..29b70320 100644 --- a/modules/rest_api.py +++ b/modules/rest_api.py @@ -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\"", -- cgit v1.3.1-10-gc9f91