diff options
author | Lars Wirzenius <lwirzenius@wikimedia.org> | 2019-07-23 18:56:52 +0300 |
---|---|---|
committer | Lars Wirzenius <lwirzenius@wikimedia.org> | 2019-07-23 18:56:52 +0300 |
commit | 6ed3a306305b76d4a99a4aa907fcda7ebfc95253 (patch) | |
tree | e3ee2e59cb446e54805b5a28e6e1747259851e98 | |
parent | c6b840f936bbd3c6bce4b8a9f2921c2c18e2e2ec (diff) | |
download | wmf-ci-arch-6ed3a306305b76d4a99a4aa907fcda7ebfc95253.tar.gz |
Fix: get json object
-rwxr-xr-x | api.py | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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'), |