summaryrefslogtreecommitdiff
path: root/src/server/api/stream/othello.ts
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2018-03-31 20:50:40 +0900
committerGitHub <noreply@github.com>2018-03-31 20:50:40 +0900
commiteafb0f61ef6465697a0fbd9b931fc306417cd2a1 (patch)
tree7d6c502c1e2c61eb3327f678f766f23bda10c1e7 /src/server/api/stream/othello.ts
parentデフォルトでドライブ容量は128MiBにした (diff)
parentImplement remote status retrieval (diff)
downloadsharkey-eafb0f61ef6465697a0fbd9b931fc306417cd2a1.tar.gz
sharkey-eafb0f61ef6465697a0fbd9b931fc306417cd2a1.tar.bz2
sharkey-eafb0f61ef6465697a0fbd9b931fc306417cd2a1.zip
Merge pull request #1341 from akihikodaki/github
Implement remote status retrieval
Diffstat (limited to 'src/server/api/stream/othello.ts')
-rw-r--r--src/server/api/stream/othello.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/api/stream/othello.ts b/src/server/api/stream/othello.ts
index 4205afae7c..1cf9a1494f 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 '../../../common/event';
export default function(request: websocket.request, connection: websocket.connection, subscriber: redis.RedisClient, user: any): void {
// Subscribe othello stream