From 7cafe92d32139e20ff9978c856308e3eea54e0f9 Mon Sep 17 00:00:00 2001 From: Ricardo Date: Tue, 7 Nov 2023 21:21:01 +0000 Subject: [PATCH] changed object in qs to be processed correctly --- src/templates/core/functions/getQueryString.hbs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/templates/core/functions/getQueryString.hbs b/src/templates/core/functions/getQueryString.hbs index 7946851dd..541c1bf47 100644 --- a/src/templates/core/functions/getQueryString.hbs +++ b/src/templates/core/functions/getQueryString.hbs @@ -13,7 +13,7 @@ export const getQueryString = (params: Record): string => { }); } else if (typeof value === 'object') { Object.entries(value).forEach(([k, v]) => { - process(`${key}[${k}]`, v); + process(`${k}`, v); }); } else { append(key, value);