Skip to content

Commit 076afe6

Browse files
committed
fix: correct call to execute webhooks when pact changes
1 parent fe05919 commit 076afe6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/pact_broker/pacts/service.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ def create_pact params, version, provider
123123

124124
def trigger_webhooks pact
125125
if pact_has_changed_since_previous_version? pact
126-
webhook_service.execute_webhooks pact, PactBroker::Webhooks::WebhookEvent::CONTRACT_CONTENT_CHANGED
126+
webhook_service.execute_webhooks pact, nil, PactBroker::Webhooks::WebhookEvent::CONTRACT_CONTENT_CHANGED
127127
end
128128
end
129129
end

0 commit comments

Comments
 (0)