We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 98daffc commit 1ac09e8Copy full SHA for 1ac09e8
src/apifetch.ts
@@ -89,7 +89,7 @@ export type ExecuteApiFetch = (
89
*/
90
/* eslint-disable @typescript-eslint/no-explicit-any */
91
const settingToQueryParam = function (setting: any, key: string): string {
92
- if (setting || setting === false) {
+ if (setting !== null && setting !== undefined && setting !== '') {
93
return '&' + key + '=' + setting;
94
}
95
return '';
0 commit comments