diff options
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; |