🐛 Fix useQuerystring=false behaviour #2319

This commit is contained in:
Jan Oberhauser 2021-10-14 11:59:34 -07:00
parent cf8bad44fd
commit 5e4aa9a7c7

View file

@ -259,6 +259,10 @@ async function parseRequestObject(requestObject: IDataObject) {
axiosConfig.paramsSerializer = (params) => {
return stringify(params, { arrayFormat: 'repeat' });
};
} else if (requestObject.useQuerystring === false) {
axiosConfig.paramsSerializer = (params) => {
return stringify(params, { arrayFormat: 'indices' });
};
}
// @ts-ignore