From 7e4ebee9a0e56546d6dce76c5c48d6d13371c689 Mon Sep 17 00:00:00 2001 From: eug-vs Date: Fri, 12 Jun 2020 20:20:33 +0300 Subject: style: fix all eslint errors --- index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'index.ts') 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; -- cgit v1.2.3