Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
getClient: function (account, userId, userType, userData, done) {
var client = new Client().configure({
userId: userId,
userType: userType,
accountName: account,
port: configuration.port,
upgrade: false,
userData: userData
}).once('ready', done).alloc('test')
return client
},
configuration: configuration,