Fix the git ref extractor for Gitlab pull requests

This commit is contained in:
Jeff Bradberry
2019-09-30 13:32:21 -04:00
parent 08594682a4
commit aa34984d7c
+1 -1
View File
@@ -195,7 +195,7 @@ class GitlabWebhookReceiver(WebhookReceiverBase):
event_keys = {
'Push Hook': 'checkout_sha',
'Tag Push Hook': 'checkout_sha',
'Merge Request Hook': 'last_commit.id',
'Merge Request Hook': 'object_attributes.last_commit.id',
}
def get_event_type(self):