From 7b476046a66b4850ffa6011e5bb7c7f77c7da7d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Rialland?= Date: Thu, 2 Mar 2023 15:30:16 +0100 Subject: [PATCH] Fix types --- site/source/api/fabrique-social.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }