From 17e47575081e220edfb995f4a82ef10a84142bb2 Mon Sep 17 00:00:00 2001 From: Florian Sommariva <1926041+dtrucs@users.noreply.github.com> Date: Tue, 29 Oct 2024 19:16:07 +0100 Subject: [PATCH] Do not specify portal field for outdoorSite detail call --- frontend/src/modules/outdoorSite/api.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/modules/outdoorSite/api.ts b/frontend/src/modules/outdoorSite/api.ts index 31c77fbfc..4c1ff39e6 100644 --- a/frontend/src/modules/outdoorSite/api.ts +++ b/frontend/src/modules/outdoorSite/api.ts @@ -24,7 +24,7 @@ export const fetchOutdoorSiteDetails = ( id: string, ): Promise => { return GeotrekAPI.get(`/outdoor_site/${encodeURIComponent(id)}/`, { - params: { ...fieldsParamsDetails, ...query, ...portalsFilter }, + params: { ...fieldsParamsDetails, ...query }, }).then(r => r.data); };