1
0
mirror of https://github.com/ascribe/onion.git synced 2024-11-15 01:25:17 +01:00

Forgot to use our own omit instead of lodash's

This commit is contained in:
Brett Sun 2015-11-02 18:57:56 +01:00
parent 0b4cc3123d
commit cb6e94c8f1

View File

@ -15,7 +15,7 @@ export function sanitize(obj, filterFn) {
filterFn = (val) => val == null || val === '';
}
return _.omit(obj, filterFn);
return omitFromObject(obj, filterFn);
}
/**