lib/pact_broker/versions/service.rb in pact_broker-2.36.1 vs lib/pact_broker/versions/service.rb in pact_broker-2.37.0
- old
+ new
@@ -19,9 +19,10 @@
version_repository.find_by_pacticipant_name_and_latest_tag(pacticipant_name, tag)
end
def self.delete version
tag_repository.delete_by_version_id version.id
+ webhook_repository.delete_triggered_webhooks_by_version_id version.id
pact_repository.delete_by_version_id version.id
verification_repository.delete_by_provider_version_id version.id
version_repository.delete_by_id version.id
end
end