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