aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--index.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/index.js b/index.js
index e23e29fc..3f413855 100644
--- a/index.js
+++ b/index.js
@@ -80,6 +80,7 @@ const l = console.log
})
socket.sockets.on('connect', async socket => {
+ socket.emit('rate', app.get('rates').ask)
socket.on('getuser', async (data, callback) => {
callback(await db.User.findOne({
where: {