diff --git a/src/api/endpoints/users/search.js b/src/api/endpoints/users/search.js index f8b2eccec6..9ece596075 100644 --- a/src/api/endpoints/users/search.js +++ b/src/api/endpoints/users/search.js @@ -6,6 +6,7 @@ import * as mongo from 'mongodb'; import User from '../../models/user'; import serialize from '../../serializers/user'; +import config from '../../../conf'; const escapeRegexp = require('escape-regexp'); /**