Skip to content

Commit 4741766

Browse files
authored
Merge pull request #19 from caos21/caos21-bing-postalcode
Fixes bing geojson fetch by postal code
2 parents 6bcc11b + a750a0e commit 4741766

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

geocoder/bing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ def _build_params(self, location, provider_key, **kwargs):
152152
'adminDistrict': kwargs.get('adminDistrict'),
153153
'countryRegion': kwargs.get('countryRegion'),
154154
'locality': kwargs.get('locality'),
155-
'postalCode': kwargs.get('countryRegion'),
155+
'postalCode': kwargs.get('postalCode'),
156156
'addressLine': kwargs.get('addressLine', location),
157157
'o': 'json',
158158
'inclnb': 1,

0 commit comments

Comments
 (0)