remove dead code

This commit is contained in:
Pierre Noël 2022-02-10 18:38:47 +01:00
parent c2b8a4ee98
commit ef0cb82192

View File

@ -292,7 +292,7 @@ const convertAndSanitizeFilters = (filters, schema) => {
filters[key] = convertAndSanitizeFilters(value, schema);
} else if (['$null', '$notNull'].includes(key)) {
try {
filters[key] = parseType({ type: 'boolean', value: filters[key], forceCast: true });
filters[key] = parseType({ type: 'boolean', value: filters[key] });
} catch (e) {
throw new ApplicationError(e.message);
}