We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a6115ea + b790223 commit 84e3e41Copy full SHA for 84e3e41
pwa/interfaces/Gouv.ts
@@ -29,6 +29,7 @@ export interface City {
29
article: string;
30
nom_commune: string;
31
nom_commune_complet: string;
32
+ nom_commune_complet_formatte: string;
33
department: Departement | null;
34
}
35
pwa/utils/apiCity.ts
@@ -27,7 +27,7 @@ const gouvCities = async (search: string) => {
27
28
try {
const response = await fetch(
- `https://api-address-09a561047853.herokuapp.com/api/cities?nom_commune_postal=${search}`
+ `https://api-address-09a561047853.herokuapp.com/api/cities?nom_commune_complet_formatte=${search}`
);
const data = await response.json();
0 commit comments