[gnome-maps/wip/mlundblad/localized-names-from-overpass: 3/5] place: Correctly initialize country_code
- From: Marcus Lundblad <mlundblad src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-maps/wip/mlundblad/localized-names-from-overpass: 3/5] place: Correctly initialize country_code
- Date: Sat, 17 Oct 2020 10:05:33 +0000 (UTC)
commit 32f15347e8ee0fc8dfd52ca3953a36212ba42a06
Author: Marcus Lundblad <ml update uu se>
Date: Sat Oct 17 12:00:18 2020 +0200
place: Correctly initialize country_code
The country_code constructor paramater was misspelled
when setting properties on the GeocodeGlib.Place instance.
src/place.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/place.js b/src/place.js
index 675e3320..e2392731 100644
--- a/src/place.js
+++ b/src/place.js
@@ -121,7 +121,7 @@ class Place extends Geocode.Place {
state: params.place.state,
county: params.place.county,
country: params.place.country,
- country_code: params.place.contry_code,
+ country_code: params.place.country_code,
continent: params.place.continent };
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]