From 14d697aebc77bf080c64f569a959fede65008ce2 Mon Sep 17 00:00:00 2001 From: Noel Palo Date: Mon, 11 Sep 2023 11:54:25 +0800 Subject: [PATCH] feature/BWA-8-weather-app-github-action - Fix Error in GeocodingServiceTest::testService - Add API Services URI in the config --- src/config/services.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/config/services.php b/src/config/services.php index 88edfc4..752d825 100644 --- a/src/config/services.php +++ b/src/config/services.php @@ -37,7 +37,7 @@ 'max_output' => env('OPEN_WEATHER_MAX_OUTPUT', '5'), 'unit' => env('OPEN_WEATHER_UNIT', 'metric'), 'lang' => env('OPEN_WEATHER_LANG', 'en'), - 'uri' => env('OPEN_WEATHER_API_URI', ''), + 'uri' => env('OPEN_WEATHER_API_URI', 'api.openweathermap.org/data/2.5'), ], 'geoapify' => [ 'filter' => env('GEOAPIFY_FILTER', 'countrycode:jp'), @@ -46,7 +46,7 @@ 'lang' => env('GEOAPIFY_LANG', 'en'), 'max_output' => env('GEOAPIFY_MAX_OUTPUT', '1'), 'type' => env('GEOAPIFY_TYPE', 'city'), - 'uri' => env('GEOAPIFY_API_URI', ''), + 'uri' => env('GEOAPIFY_API_URI', 'api.geoapify.com/v1/geocode/search'), 'default_search' => env('GEOAPIFY_DEFAULT', 'Tokyo, Japan'), ], ],