mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-24 04:04:06 -08:00
🐛 Fix useQuerystring=false behaviour #2319
This commit is contained in:
parent
cf8bad44fd
commit
5e4aa9a7c7
|
@ -259,6 +259,10 @@ async function parseRequestObject(requestObject: IDataObject) {
|
||||||
axiosConfig.paramsSerializer = (params) => {
|
axiosConfig.paramsSerializer = (params) => {
|
||||||
return stringify(params, { arrayFormat: 'repeat' });
|
return stringify(params, { arrayFormat: 'repeat' });
|
||||||
};
|
};
|
||||||
|
} else if (requestObject.useQuerystring === false) {
|
||||||
|
axiosConfig.paramsSerializer = (params) => {
|
||||||
|
return stringify(params, { arrayFormat: 'indices' });
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
|
|
Loading…
Reference in a new issue