summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xapi.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/api.py b/api.py
index ff58695..401ea6f 100755
--- a/api.py
+++ b/api.py
@@ -458,7 +458,7 @@ class Controller(API):
def _webhook(self):
r = bottle.request
- obj = r.body.json()
+ obj = r.body.json
logging.debug(
'_webhook called: project_name=%s job_id=%s job_status=%s',
obj.get('project_name'),