in src/util/http.ts [48:60]
function flatParams(params: { [key: string]: any }): { [key: string]: any } {
const target: { [key: string]: any } = {};
const keys = Object.keys(params);
for (const key of keys) {
const value = params[key];
if (Array.isArray(value)) {
replaceRepeatList(target, key, value);
} else {
target[key] = value;
}
}
return target;
}