Skip to content

Commit

Permalink
fix: considering the case of intentional null specification
Browse files Browse the repository at this point in the history
  • Loading branch information
soartec-lab committed May 19, 2024
1 parent a586c57 commit c2f96ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/fetch/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ ${
const normalizedParams = new URLSearchParams();
Object.entries(params || {}).forEach(([key, value]) => {
if (value !== null && value !== undefined) {
if (value !== undefined) {
normalizedParams.append(key, value.toString());
}
});`
Expand Down

0 comments on commit c2f96ac

Please sign in to comment.