diff --git a/src/common/fetchClient.ts b/src/common/fetchClient.ts index d340b97..1d9a26b 100644 --- a/src/common/fetchClient.ts +++ b/src/common/fetchClient.ts @@ -97,6 +97,9 @@ export default class FetchClient { function appendParams(key: string, value: any, parentKey?: string) { const fullKey = parentKey ? `${parentKey}[${key}]` : key; + // Skip undefined values + if (value === undefined) return; + if ( typeof value === "object" && value !== null &&