mirror of
https://github.com/ascribe/onion.git
synced 2025-02-14 21:10:27 +01:00
Forgot to use our own omit instead of lodash's
This commit is contained in:
parent
0b4cc3123d
commit
cb6e94c8f1
@ -15,7 +15,7 @@ export function sanitize(obj, filterFn) {
|
|||||||
filterFn = (val) => val == null || val === '';
|
filterFn = (val) => val == null || val === '';
|
||||||
}
|
}
|
||||||
|
|
||||||
return _.omit(obj, filterFn);
|
return omitFromObject(obj, filterFn);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user