From 33401712e219027bc1f2bf9cf1b9c327e97ad7e5 Mon Sep 17 00:00:00 2001 From: Eugene Burmakin Date: Tue, 14 Jan 2025 23:33:07 +0100 Subject: [PATCH] Allow api_key to be passed in to the visited cities endpoint --- app/controllers/api/v1/countries/visited_cities_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/api/v1/countries/visited_cities_controller.rb b/app/controllers/api/v1/countries/visited_cities_controller.rb index 85e53f7d..125baf8e 100644 --- a/app/controllers/api/v1/countries/visited_cities_controller.rb +++ b/app/controllers/api/v1/countries/visited_cities_controller.rb @@ -17,6 +17,6 @@ class Api::V1::Countries::VisitedCitiesController < ApiController private def required_params - %i[start_at end_at] + %i[start_at end_at api_key] end end