diff --git a/site/source/api/fabrique-social.ts b/site/source/api/fabrique-social.ts index 27c89b69e..7dc3d99bd 100644 --- a/site/source/api/fabrique-social.ts +++ b/site/source/api/fabrique-social.ts @@ -62,7 +62,7 @@ async function searchFullText( return null } - const json: FabriqueSocialSearchPayload = await response.json() + const json = (await response.json()) as FabriqueSocialSearchPayload return json.entreprises }