diff options
| author | Akihiko Odaki <nekomanma@pixiv.co.jp> | 2018-04-02 12:58:53 +0900 |
|---|---|---|
| committer | Akihiko Odaki <nekomanma@pixiv.co.jp> | 2018-04-02 12:58:53 +0900 |
| commit | 5b9f3701f58ca00c151498d16b6a839a91ba8643 (patch) | |
| tree | d32620bf206288b204060672a0088b4b0c7fa5eb /src/server/api/endpoints/othello | |
| parent | Merge branch 'master' of https://github.com/syuilo/misskey (diff) | |
| download | misskey-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.ts | 2 | ||||
| -rw-r--r-- | src/server/api/endpoints/othello/match.ts | 4 |
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 |