Skip to content

Commit ce9fa0b

Browse files
Merge pull request #274 from falkodev/master
fix "Cannot read property '_' of undefined" in v1
2 parents bfbf048 + 7220241 commit ce9fa0b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/service-module/getters.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
import sift from 'sift'
2-
import commons from '@feathersjs/commons'
2+
import { _ } from '@feathersjs/commons'
33
import dbCommons from '@feathersjs/adapter-commons'
44
import omit from 'lodash.omit'
55

6-
const { _ } = commons
76
const { filterQuery, sorter, select } = dbCommons
87
const FILTERS = [ '$sort', '$limit', '$skip', '$select' ]
98
const OPERATORS = [ '$in', '$nin', '$lt', '$lte', '$gt', '$gte', '$ne', '$or' ]

0 commit comments

Comments
 (0)