Skip to content

Commit

Permalink
Update packages/core/src/utils/index.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Ajay Vasisht <[email protected]>
  • Loading branch information
denniswon and avasisht23 authored Nov 28, 2023
1 parent 0b33313 commit 8ee6b14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/utils/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ export function filterUndefined(
obj: Record<string, unknown>
): Record<string, unknown> {
Object.keys(obj).forEach((key) => {
if (obj[key] === undefined) {
if (obj[key] == null) {
delete obj[key];
}
});
Expand Down

0 comments on commit 8ee6b14

Please sign in to comment.