1
0
Fork 0
mirror of https://github.com/Ylianst/MeshCentral.git synced 2025-03-09 15:40:18 +00:00

Updated to Express-ws 4.x

This commit is contained in:
Ylian Saint-Hilaire 2018-11-30 21:23:10 -08:00
parent 10e4ae4cbf
commit 21351889b5
6 changed files with 18 additions and 18 deletions

View file

@ -1337,7 +1337,7 @@ module.exports.CreateMeshUser = function (parent, db, ws, req, args, domain, use
try { ws.send(JSON.stringify({ action: 'userinfo', userinfo: userinfo })); } catch (ex) { }
// We are all set, start receiving data
ws.resume();
ws._socket.resume();
} catch (e) { console.log(e); }
// Read entire file and return it in callback function