fix: the fix

This commit is contained in:
David Dias
2016-11-08 17:21:19 +00:00
parent a821c33364
commit 0429bebde6

View File

@ -26,7 +26,7 @@ module.exports = class WebSockets {
log('dialing %s', url) log('dialing %s', url)
const socket = connect(url, { const socket = connect(url, {
binary: true, binary: true,
onConnect: () => callback onConnect: () => callback()
}) })
const conn = new Connection(socket) const conn = new Connection(socket)