Skip to content
This repository was archived by the owner on Jul 1, 2026. It is now read-only.
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Await hook.
  • Loading branch information
ahawad committed Jan 21, 2023
commit f5f5ca53b9a3ee3bbe3fe1f9f71cf6c0e68ec689
2 changes: 1 addition & 1 deletion github_webhook/webhook.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ async def _postreceive(self):
self._logger.info("%s (%s)", _format_event(event_type, data), _get_header("X-Github-Delivery"))

for hook in self._hooks.get(event_type, []):
hook(data)
await hook(data)

return "", 204

Expand Down