[gnome-maps/wip/mlundblad/localized-names-from-overpass: 5/9] 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: 5/9] place: Correctly initialize country_code
- Date: Wed, 25 Nov 2020 22:07:38 +0000 (UTC)
commit 5768daa1456fd0f95038aba423b233833db7581b
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 f9134363..073be2f5 100644
--- a/src/place.js
+++ b/src/place.js
@@ -120,7 +120,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]