mirror of
https://github.com/jeffvli/feishin.git
synced 2025-02-22 05:09:59 +01:00
fix array parameter parsing for subsonic client
This commit is contained in:
parent
f0978365d4
commit
e57232f89c
@ -255,7 +255,7 @@ axiosClient.interceptors.response.use(
|
|||||||
const parsePath = (fullPath: string) => {
|
const parsePath = (fullPath: string) => {
|
||||||
const [path, params] = fullPath.split('?');
|
const [path, params] = fullPath.split('?');
|
||||||
|
|
||||||
const parsedParams = qs.parse(params);
|
const parsedParams = qs.parse(params, { arrayLimit: 99999, parameterLimit: 99999 });
|
||||||
const notNilParams = omitBy(parsedParams, (value) => value === 'undefined' || value === 'null');
|
const notNilParams = omitBy(parsedParams, (value) => value === 'undefined' || value === 'null');
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user