From ad38cd2605a7cd857618a5498651d5b10e7b1bfc Mon Sep 17 00:00:00 2001 From: Akihiko Odaki Date: Mon, 2 Apr 2018 13:33:46 +0900 Subject: Introduce publishers directory --- src/server/api/stream/othello.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/server/api/stream/othello.ts') diff --git a/src/server/api/stream/othello.ts b/src/server/api/stream/othello.ts index 4c292056da..fa62b05836 100644 --- a/src/server/api/stream/othello.ts +++ b/src/server/api/stream/othello.ts @@ -2,7 +2,7 @@ import * as mongo from 'mongodb'; import * as websocket from 'websocket'; import * as redis from 'redis'; import Matching, { pack } from '../../../models/othello-matching'; -import publishUserStream from '../../../event'; +import publishUserStream from '../../../publishers/stream'; export default function(request: websocket.request, connection: websocket.connection, subscriber: redis.RedisClient, user: any): void { // Subscribe othello stream -- cgit v1.2.3-freya