Fix types

pull/2529/head
Jérémy Rialland 2023-03-02 15:30:16 +01:00 committed by Johan Girod
parent 2c8afdbb93
commit 7b476046a6
1 changed files with 1 additions and 1 deletions

View File

@ -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
}