From 575a360056f4df762b77fddc00aefbd6e04d357e Mon Sep 17 00:00:00 2001 From: Luca Cannarozzo Date: Mon, 24 Jul 2023 18:08:59 +0200 Subject: [PATCH] fix(express): wrong param used in query --- src/features/backoffice/strapi.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/features/backoffice/strapi.ts b/src/features/backoffice/strapi.ts index 5ced5206c..332aa883c 100644 --- a/src/features/backoffice/strapi.ts +++ b/src/features/backoffice/strapi.ts @@ -175,7 +175,7 @@ export const strapiSlice = createApi({ let url = `/express-types/${queryArg.id}`; const args: Geti18nCategoriesArgs = { ...(queryArg.locale && { locale: queryArg.locale }), - ...(queryArg.populate && { filters: queryArg.populate }), + ...(queryArg.populate && { populate: queryArg.populate }), ...(queryArg.filters && { filters: queryArg.filters }), }; const params = stringify(args, { encodeValuesOnly: true });