diff options
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/sockets.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sockets.js b/lib/sockets.js index cc6da34c..e297703b 100644 --- a/lib/sockets.js +++ b/lib/sockets.js @@ -48,7 +48,7 @@ wss.on("connection", function (ws, req) { names[id] = username; ws.ok = true; - ws.send(JSON.stringify({ type: "networks", data: networks })); + ws.send(JSON.stringify({ type: "nodes", data: networks })); ws.send(JSON.stringify({ type: "rates", data: app.get("rates") })); ws.send(JSON.stringify({ type: "login", data: await getUser(username) })); l.info("socket open", username, id); |
