Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
(name) => {
return ({
Schema: Schema,
ObjectId: ObjectId,
Types: Types,
$redis: redis.client,
$config: app[CONFIG],
$string: app[GET_STRING],
$utils: require('../../utils')
})[name];
},
app[GET_UTIL]
redisClient.on('ready', () => {
redis.client = new RedisClientWrapper(redisClient);
resolve();
});