Skip to content

Commit

Permalink
fix: correct call to execute webhooks when pact changes
Browse files Browse the repository at this point in the history
  • Loading branch information
bethesque committed Jun 9, 2018
1 parent fe05919 commit 076afe6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/pact_broker/pacts/service.rb
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def create_pact params, version, provider

def trigger_webhooks pact
if pact_has_changed_since_previous_version? pact
webhook_service.execute_webhooks pact, PactBroker::Webhooks::WebhookEvent::CONTRACT_CONTENT_CHANGED
webhook_service.execute_webhooks pact, nil, PactBroker::Webhooks::WebhookEvent::CONTRACT_CONTENT_CHANGED
end
end
end
Expand Down

0 comments on commit 076afe6

Please sign in to comment.