From b5f12bab00e10942ee240962e17b8a4b9f034a43 Mon Sep 17 00:00:00 2001 From: Ricardo Espinoza Date: Thu, 21 Oct 2021 20:14:52 -0400 Subject: [PATCH] :bug: Fix issue with _where parameter with request library (#2352) Fixes #2324 --- packages/nodes-base/nodes/Strapi/GenericFunctions.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/nodes-base/nodes/Strapi/GenericFunctions.ts b/packages/nodes-base/nodes/Strapi/GenericFunctions.ts index e8112b05c..e1338376a 100644 --- a/packages/nodes-base/nodes/Strapi/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Strapi/GenericFunctions.ts @@ -25,6 +25,9 @@ export async function strapiApiRequest(this: IExecuteFunctions | ILoadOptionsFun qs, uri: uri || `${credentials.url}${resource}`, json: true, + qsStringifyOptions: { + arrayFormat: 'indice', + }, }; if (Object.keys(headers).length !== 0) { options.headers = Object.assign({}, options.headers, headers);