Fixed typo thats made server hang
parent
602d603658
commit
500f9b8b48
|
@ -1429,7 +1429,7 @@ function composePadChangesets(padId, startNum, endNum, callback)
|
|||
*/
|
||||
exports.padUsersCount = function (padID, callback) {
|
||||
callback(null, {
|
||||
padUsersCount: socketio.sockets.clients(padId).length
|
||||
padUsersCount: socketio.sockets.clients(padID).length
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue