[gnome-maps/wip/mlundblad/fix-place-countrycode-json] place: Fix saving country code to JSON




commit 761e19f5d2de3f3d146ec568f97c87201688d062
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 6cbfda98..87948a74 100644
--- a/src/place.js
+++ b/src/place.js
@@ -341,7 +341,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]