[gnome-maps/gnome-40] place: Fix saving country code to JSON



commit 3cde2bce67c5597701efcd75fc74bc0cea696c01
Author: Marcus Lundblad <ml update uu se>
Date:   Mon May 17 22:56:16 2021 +0200

    place: Fix saving country code to JSON
    
    Correctly save the country code attribute
    when storing JSON to the place store.

 src/place.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/place.js b/src/place.js
index 299b6ef5..39d2caad 100644
--- a/src/place.js
+++ b/src/place.js
@@ -275,7 +275,7 @@ class Place extends Geocode.Place {
                  state: this.state,
                  county: this.county,
                  country: this.country,
-                 country_code: this.contry_code,
+                 country_code: this.country_code,
                  continent: this.continent,
                  population: this.population,
                  website: this.website,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]