We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef40167 commit 965c3d1Copy full SHA for 965c3d1
webhooks.py
@@ -93,7 +93,7 @@ def index():
93
# Case 1: a ref_type indicates the type of ref. This is create and delete events.
94
if 'ref_type' in payload:
95
if payload['ref_type'] == 'branch':
96
- branch = paylaod['ref']
+ branch = payload['ref']
97
# Case 2: a pull_request object is involved. This is pull_request and pull_request_review_comment events.
98
elif 'pull_request' in payload:
99
# This is the TARGET branch for the pull-request, not the source branch
0 commit comments