Regression fix from b6a8b602b8 for location population (#13819)

This commit is contained in:
Jellyfrog
2022-03-02 23:37:52 +00:00
committed by GitHub
parent 86a504e675
commit 5ffbceb7e8
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -50,9 +50,9 @@ trait GeocodingHelper
}
try {
$options = $this->buildGeocodingOptions($address);
$client = $this->getClient()->withOptions($this->buildGeocodingOptions($address));
$response = $this->getClient()->get($this->geocoding_uri, $options);
$response = $client->get($this->geocoding_uri);
$response_data = $response->json();
if ($this->checkResponse($response, $response_data)) {
return $this->parseLatLng($response_data);
+1 -1
View File
@@ -31,7 +31,7 @@ class NominatimApi extends BaseApi implements Geocoder
{
use GeocodingHelper;
protected $base_uri = 'http://nominatim.openstreetmap.org';
protected $base_uri = 'https://nominatim.openstreetmap.org';
protected $geocoding_uri = '/search';
/**