mirror of
https://github.com/ascribe/onion.git
synced 2024-11-15 09:35:10 +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 === '';
|
||||
}
|
||||
|
||||
return _.omit(obj, filterFn);
|
||||
return omitFromObject(obj, filterFn);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user