remove unwanted argument

This commit is contained in:
Brian Gough 2019-08-14 13:03:06 +01:00
parent 2000f478a7
commit d3171e4e2e

View file

@ -184,7 +184,7 @@ module.exports = WebsocketController =
logger.log {user_id, project_id, client_id: client.id}, "getting connected users" logger.log {user_id, project_id, client_id: client.id}, "getting connected users"
AuthorizationManager.assertClientCanViewProject client, (error) -> AuthorizationManager.assertClientCanViewProject client, (error) ->
return callback(error) if error? return callback(error) if error?
WebsocketLoadBalancer.emitToRoom project_id, 'clientTracking.refresh', project_id WebsocketLoadBalancer.emitToRoom project_id, 'clientTracking.refresh'
setTimeout () -> setTimeout () ->
ConnectedUsersManager.getConnectedUsers project_id, (error, users) -> ConnectedUsersManager.getConnectedUsers project_id, (error, users) ->
return callback(error) if error? return callback(error) if error?