Skip to content

Commit 742d506

Browse files
committed
feat(matrix): do not default to latestby=cvpv for consumer/provider matrix
To make the behaviour the same as the UI
1 parent 1ad7761 commit 742d506

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/pact_broker/matrix/service.rb

+1-2
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@ def find selectors, options = {}
1818

1919
def find_for_consumer_and_provider params, options = {}
2020
selectors = [{ pacticipant_name: params[:consumer_name] }, { pacticipant_name: params[:provider_name] }]
21-
default_options = { latestby: 'cvpv' }
22-
find(selectors, default_options.merge(options))
21+
find(selectors, options)
2322
end
2423

2524
def find_for_consumer_and_provider_with_tags params

0 commit comments

Comments
 (0)