summaryrefslogtreecommitdiff
path: root/src/server/api/endpoints/othello
diff options
context:
space:
mode:
authorAkihiko Odaki <nekomanma@pixiv.co.jp>2018-04-02 12:58:53 +0900
committerAkihiko Odaki <nekomanma@pixiv.co.jp>2018-04-02 12:58:53 +0900
commit5b9f3701f58ca00c151498d16b6a839a91ba8643 (patch)
treed32620bf206288b204060672a0088b4b0c7fa5eb /src/server/api/endpoints/othello
parentMerge branch 'master' of https://github.com/syuilo/misskey (diff)
downloadmisskey-5b9f3701f58ca00c151498d16b6a839a91ba8643.tar.gz
misskey-5b9f3701f58ca00c151498d16b6a839a91ba8643.tar.bz2
misskey-5b9f3701f58ca00c151498d16b6a839a91ba8643.zip
Abolish common and misc directories
Diffstat (limited to 'src/server/api/endpoints/othello')
-rw-r--r--src/server/api/endpoints/othello/games/show.ts2
-rw-r--r--src/server/api/endpoints/othello/match.ts4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/server/api/endpoints/othello/games/show.ts b/src/server/api/endpoints/othello/games/show.ts
index 0b1c9bc356..dd886936d4 100644
--- a/src/server/api/endpoints/othello/games/show.ts
+++ b/src/server/api/endpoints/othello/games/show.ts
@@ -1,6 +1,6 @@
import $ from 'cafy';
import OthelloGame, { pack } from '../../../../../models/othello-game';
-import Othello from '../../../../../misc/othello/core';
+import Othello from '../../../../../othello/core';
module.exports = (params, user) => new Promise(async (res, rej) => {
// Get 'gameId' parameter
diff --git a/src/server/api/endpoints/othello/match.ts b/src/server/api/endpoints/othello/match.ts
index d9c46aae13..1fc46ab908 100644
--- a/src/server/api/endpoints/othello/match.ts
+++ b/src/server/api/endpoints/othello/match.ts
@@ -2,8 +2,8 @@ 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 '../../../../common/event';
-import { eighteight } from '../../../../misc/othello/maps';
+import publishUserStream, { publishOthelloStream } from '../../../../event';
+import { eighteight } from '../../../../othello/maps';
module.exports = (params, user) => new Promise(async (res, rej) => {
// Get 'userId' parameter