From cd2542e0fd8578f6e41114ffebbda1f16f7d04ce Mon Sep 17 00:00:00 2001 From: syuilo Date: Mon, 2 Apr 2018 04:15:27 +0900 Subject: Refactor --- src/server/api/endpoints/othello/games/show.ts | 2 +- src/server/api/endpoints/othello/match.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/server/api/endpoints/othello') diff --git a/src/server/api/endpoints/othello/games/show.ts b/src/server/api/endpoints/othello/games/show.ts index 0d3b539652..0b1c9bc356 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 '../../../../../common/othello/core'; +import Othello from '../../../../../misc/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 992b93d418..d9c46aae13 100644 --- a/src/server/api/endpoints/othello/match.ts +++ b/src/server/api/endpoints/othello/match.ts @@ -3,7 +3,7 @@ import Matching, { pack as packMatching } from '../../../../models/othello-match import OthelloGame, { pack as packGame } from '../../../../models/othello-game'; import User from '../../../../models/user'; import publishUserStream, { publishOthelloStream } from '../../../../common/event'; -import { eighteight } from '../../../../common/othello/maps'; +import { eighteight } from '../../../../misc/othello/maps'; module.exports = (params, user) => new Promise(async (res, rej) => { // Get 'userId' parameter -- cgit v1.2.3-freya