From 224afe3b367cba9b978115e969e714c14c71caa6 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Tue, 24 Apr 2018 17:03:17 +0300 Subject: Change: GET /work, POST /worker use access token to identify worker --- ick2/apibase.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ick2/apibase.py') diff --git a/ick2/apibase.py b/ick2/apibase.py index 50b8390..cb0d9f9 100644 --- a/ick2/apibase.py +++ b/ick2/apibase.py @@ -80,7 +80,7 @@ class APIbase: 'trace', msg_text='POST called', kwargs=kwargs, content_type=content_type, body=body) try: - body = callback(body) + body = callback(body, **kwargs) except ick2.ExistsAlready as e: ick2.log.log('error', msg_text=str(e), kwargs=kwargs) return ick2.conflict(str(e)) -- cgit v1.2.1