Skip to content

Commit f5f5ca5

Browse files
committed
Await hook.
1 parent 1abf534 commit f5f5ca5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

github_webhook/webhook.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ async def _postreceive(self):
8686
self._logger.info("%s (%s)", _format_event(event_type, data), _get_header("X-Github-Delivery"))
8787

8888
for hook in self._hooks.get(event_type, []):
89-
hook(data)
89+
await hook(data)
9090

9191
return "", 204
9292

0 commit comments

Comments
 (0)