From a6a8ba22df16988f31f5f5fc2f9eca87d7dba0d2 Mon Sep 17 00:00:00 2001 From: Beth Skurrie Date: Mon, 6 Nov 2017 16:32:18 +1100 Subject: [PATCH] feat(matrix): change groupby param to latestby --- lib/pact_broker/matrix/parse_query.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/pact_broker/matrix/parse_query.rb b/lib/pact_broker/matrix/parse_query.rb index ec79e5e04..262aec948 100644 --- a/lib/pact_broker/matrix/parse_query.rb +++ b/lib/pact_broker/matrix/parse_query.rb @@ -25,8 +25,8 @@ def self.call query if params.key?('scope') options[:scope] = params['scope'] end - if params.key?('groupby') - options[:groupby] = params['groupby'] + if params.key?('latestby') + options[:latestby] = params['latestby'] end if params.key?('limit') options[:limit] = params['limit']