aboutsummaryrefslogtreecommitdiff
path: root/modules/git_webhooks/github.py
diff options
context:
space:
mode:
Diffstat (limited to 'modules/git_webhooks/github.py')
-rw-r--r--modules/git_webhooks/github.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/git_webhooks/github.py b/modules/git_webhooks/github.py
index 6a7af631..534d2a14 100644
--- a/modules/git_webhooks/github.py
+++ b/modules/git_webhooks/github.py
@@ -187,8 +187,8 @@ class GitHub(object):
range_url = self._short_url(
COMMIT_RANGE_URL % (full_name, first_id, last_id))
- return self._format_push(branch, author, data["commits"], forced,
- range_url)
+ return self._format_push(branch, author, data["commits"],
+ data["forced"], range_url)
def _format_push(self, branch, author, commits, forced, range_url):
outputs = []