Skip to content

Commit

Permalink
changed object in qs to be processed correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
Ricardo committed Nov 7, 2023
1 parent 1ded5f5 commit 7cafe92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/templates/core/functions/getQueryString.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export const getQueryString = (params: Record<string, any>): string => {
});
} else if (typeof value === 'object') {
Object.entries(value).forEach(([k, v]) => {
process(`${key}[${k}]`, v);
process(`${k}`, v);
});
} else {
append(key, value);
Expand Down

0 comments on commit 7cafe92

Please sign in to comment.