Skip to content

Commit 965c3d1

Browse files
committed
Correct paylaod -> payload
1 parent ef40167 commit 965c3d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webhooks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ def index():
9393
# Case 1: a ref_type indicates the type of ref. This is create and delete events.
9494
if 'ref_type' in payload:
9595
if payload['ref_type'] == 'branch':
96-
branch = paylaod['ref']
96+
branch = payload['ref']
9797
# Case 2: a pull_request object is involved. This is pull_request and pull_request_review_comment events.
9898
elif 'pull_request' in payload:
9999
# This is the TARGET branch for the pull-request, not the source branch

0 commit comments

Comments
 (0)