diff --git a/lib/pact_broker/api/decorators/pacts_for_verification_query_decorator.rb b/lib/pact_broker/api/decorators/pacts_for_verification_query_decorator.rb index 5aa7796ea..3679c9420 100644 --- a/lib/pact_broker/api/decorators/pacts_for_verification_query_decorator.rb +++ b/lib/pact_broker/api/decorators/pacts_for_verification_query_decorator.rb @@ -21,7 +21,7 @@ class PactsForVerificationQueryDecorator < BaseDecorator represented.branch = fragment represented.latest = true } - property :matching_branch, setter: -> (fragment:, represented:, **other) { + property :matching_branch, setter: -> (fragment:, represented:, **) { represented.matching_branch = fragment represented.latest = true }