diff --git a/Gemfile.lock b/Gemfile.lock index df08adfd2..02ea7ca24 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -113,7 +113,7 @@ GEM faker (2.23.0) i18n (>= 1.8.11, < 2) ffi (1.15.5) - gds-api-adapters (83.0.0) + gds-api-adapters (84.0.0) addressable link_header null_logger diff --git a/app/lib/services.rb b/app/lib/services.rb index 41cc8bb22..97629a385 100644 --- a/app/lib/services.rb +++ b/app/lib/services.rb @@ -27,7 +27,7 @@ def self.publishing_api def self.search_api @search_api = GdsApi::Search.new( - Plek.find("search"), + Plek.find("search-api"), ) end end diff --git a/app/views/development/index.html.erb b/app/views/development/index.html.erb index a0411d06f..1ac715249 100644 --- a/app/views/development/index.html.erb +++ b/app/views/development/index.html.erb @@ -38,7 +38,7 @@ Search - <%= link_to remove_secrets(Plek.find('search')), remove_secrets(Plek.find('search')) %> + <%= link_to remove_secrets(Plek.find('search-api')), remove_secrets(Plek.find('search-api')) %> diff --git a/test/controllers/get_involved_controller_test.rb b/test/controllers/get_involved_controller_test.rb index 8d707b3b7..0b0c78500 100644 --- a/test/controllers/get_involved_controller_test.rb +++ b/test/controllers/get_involved_controller_test.rb @@ -96,7 +96,7 @@ def setup private def stub_search_query(query:, response:) - stub_request(:get, /\A#{Plek.new.find('search')}\/search.json/) + stub_request(:get, /\A#{Plek.new.find('search-api')}\/search.json/) .with(query:) .to_return(body: response.to_json) end