🐛 corrige la recherche d'entreprise par nom/siren

Fix #624
pull/626/head
Johan Girod 2019-08-20 14:54:26 +02:00
parent 920d00a476
commit a56a609370
No known key found for this signature in database
GPG Key ID: 9E27B57DA2E8AE12
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ async function getOptions(input: string) {
} else {
/* Full text search */
const response = await fetch(
`https://sirene.entreprise.api.gouv.fr/v1/full_text/${input}`
`https://entreprise.data.gouv.fr/api/sirene/v1/full_text/${input}`
)
if (!response.ok) {
return