summaryrefslogtreecommitdiff
path: root/src/server/api/endpoints/othello
diff options
context:
space:
mode:
authorAkihiko Odaki <nekomanma@pixiv.co.jp>2018-04-02 13:33:46 +0900
committerAkihiko Odaki <nekomanma@pixiv.co.jp>2018-04-02 13:33:46 +0900
commitad38cd2605a7cd857618a5498651d5b10e7b1bfc (patch)
tree7a417a3bb5cfde837afa5bde0de2c1756b053e2b /src/server/api/endpoints/othello
parentFix built module references (diff)
downloadmisskey-ad38cd2605a7cd857618a5498651d5b10e7b1bfc.tar.gz
misskey-ad38cd2605a7cd857618a5498651d5b10e7b1bfc.tar.bz2
misskey-ad38cd2605a7cd857618a5498651d5b10e7b1bfc.zip
Introduce publishers directory
Diffstat (limited to 'src/server/api/endpoints/othello')
-rw-r--r--src/server/api/endpoints/othello/match.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/api/endpoints/othello/match.ts b/src/server/api/endpoints/othello/match.ts
index 1fc46ab908..d9274f8f9c 100644
--- a/src/server/api/endpoints/othello/match.ts
+++ b/src/server/api/endpoints/othello/match.ts
@@ -2,7 +2,7 @@ import $ from 'cafy';
import Matching, { pack as packMatching } from '../../../../models/othello-matching';
import OthelloGame, { pack as packGame } from '../../../../models/othello-game';
import User from '../../../../models/user';
-import publishUserStream, { publishOthelloStream } from '../../../../event';
+import publishUserStream, { publishOthelloStream } from '../../../../publishers/stream';
import { eighteight } from '../../../../othello/maps';
module.exports = (params, user) => new Promise(async (res, rej) => {