1
This commit is contained in:
parent
01c103b48c
commit
d3148c9290
2
web.py
2
web.py
@ -46,7 +46,7 @@ class DispatchHandler(tornado.web.RequestHandler):
|
|||||||
|
|
||||||
@gen.coroutine
|
@gen.coroutine
|
||||||
def post(self):
|
def post(self):
|
||||||
pdb.set_trace()
|
# pdb.set_trace()
|
||||||
data = json.loads(self.request.body)
|
data = json.loads(self.request.body)
|
||||||
if data.get('event_name', None) == 'push':
|
if data.get('event_name', None) == 'push':
|
||||||
yield self._git_webhook()
|
yield self._git_webhook()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user