diff options
author | eug-vs <eug-vs@keemail.me> | 2020-06-12 20:20:33 +0300 |
---|---|---|
committer | eug-vs <eug-vs@keemail.me> | 2020-06-12 20:20:33 +0300 |
commit | 7e4ebee9a0e56546d6dce76c5c48d6d13371c689 (patch) | |
tree | eb905fa1307833c1ab856c387be2fa533ed2ea34 /index.ts | |
parent | 2a4e1ff734533a026ebf4122c31355e2dffba1b2 (diff) | |
download | which-api-7e4ebee9a0e56546d6dce76c5c48d6d13371c689.tar.gz |
style: fix all eslint errors
Diffstat (limited to 'index.ts')
-rw-r--r-- | index.ts | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -15,7 +15,7 @@ db.once('open', () => { // Add any new real-time connection to the `everybody` channel app.on('connection', connection => app.channel('everybody').join(connection)); // Publish all events to the `everybody` channel -app.publish(data => app.channel('everybody')); +app.publish(() => app.channel('everybody')); const port = 3030; |