Skip to content

Commit 63ab7f5

Browse files
committed
fix: read property '_operators' of null
Closes #181
1 parent df2a17f commit 63ab7f5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/resolvers/helpers/filterOperators.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ export function addFilterOperators(
3737
}
3838

3939
export function processFilterOperators(filter: Object) {
40+
if (!filter) return filter;
4041
_prepareAndOrFilter(filter);
4142
if (filter[OPERATORS_FIELDNAME]) {
4243
const operatorFields = filter[OPERATORS_FIELDNAME];

0 commit comments

Comments
 (0)