aboutsummaryrefslogtreecommitdiff
path: root/index.ts
diff options
context:
space:
mode:
authoreug-vs <eug-vs@keemail.me>2020-06-12 20:20:33 +0300
committereug-vs <eug-vs@keemail.me>2020-06-12 20:20:33 +0300
commit7e4ebee9a0e56546d6dce76c5c48d6d13371c689 (patch)
treeeb905fa1307833c1ab856c387be2fa533ed2ea34 /index.ts
parent2a4e1ff734533a026ebf4122c31355e2dffba1b2 (diff)
downloadwhich-api-7e4ebee9a0e56546d6dce76c5c48d6d13371c689.tar.gz
style: fix all eslint errors
Diffstat (limited to 'index.ts')
-rw-r--r--index.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.ts b/index.ts
index 6458124..8b01536 100644
--- a/index.ts
+++ b/index.ts
@@ -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;