@@ -7,17 +7,17 @@ const filmingLocations = require("./lieux-de-tournage-a-paris.json");
77
88function buildLocation ( filmingLocation ) {
99 return {
10- filmType : filmingLocation . fields . type_tournage ,
11- filmProducerName : filmingLocation . fields . nom_producteur ,
12- endDate : filmingLocation . fields . date_fin ,
13- filmName : filmingLocation . fields . nom_tournage ,
14- district : filmingLocation . fields . ardt_lieu ,
15- sourceLocationId : filmingLocation . fields . id_lieu ,
16- filmDirectorName : filmingLocation . fields . nom_realisateur ,
17- address : filmingLocation . fields . adresse_lieu ,
18- startDate : filmingLocation . fields . date_debut ,
19- year : filmingLocation . fields . annee_tournage ,
20- geolocation : filmingLocation . fields . geo_shape ,
10+ filmType : filmingLocation . type_tournage ,
11+ filmProducerName : filmingLocation . nom_producteur ,
12+ endDate : filmingLocation . date_fin ,
13+ filmName : filmingLocation . nom_tournage ,
14+ district : filmingLocation . ardt_lieu ,
15+ sourceLocationId : filmingLocation . id_lieu ,
16+ filmDirectorName : filmingLocation . nom_realisateur ,
17+ address : filmingLocation . adresse_lieu ,
18+ startDate : filmingLocation . date_debut ,
19+ year : filmingLocation . annee_tournage ,
20+ geolocation : filmingLocation . geo_shape ?. geometry ,
2121 } ;
2222}
2323
0 commit comments