diff options
Diffstat (limited to 'modules/git_webhooks/github.py')
| -rw-r--r-- | modules/git_webhooks/github.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/git_webhooks/github.py b/modules/git_webhooks/github.py index 09f5ef92..29893a2a 100644 --- a/modules/git_webhooks/github.py +++ b/modules/git_webhooks/github.py @@ -261,7 +261,7 @@ class GitHub(object): new_commits = [] for commit in commits.data: if seen_before: - new_commits.append({"id": commit["ref"], + new_commits.append({"id": commit["sha"], "message": commit["commit"]["message"]}) elif commit["sha"] == data["before"]: seen_before = True |
