Skip to content

Commit f022051

Browse files
561: Update js/src/lib/api/common/apiURL.ts
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
1 parent 57e551b commit f022051

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

js/src/lib/api/common/apiURL.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ export class ApiURL<
229229
}
230230

231231
for (const [k, v] of Object.entries(queries)) {
232-
if (v != null || v != undefined) {
232+
if (v !== null && v !== undefined) {
233233
url.searchParams.set(k, String(v));
234234
}
235235
}

0 commit comments

Comments
 (0)