summaryrefslogtreecommitdiff
path: root/src/server/api/endpoints/games/reversi/match.ts
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2021-03-24 11:05:37 +0900
committerGitHub <noreply@github.com>2021-03-24 11:05:37 +0900
commitce340aba7a37394c70b9f3d7cece9cfa5e91d94c (patch)
tree99612ea0d039f20e0baa9ca243e8cec0af96b11a /src/server/api/endpoints/games/reversi/match.ts
parentfix bug (diff)
downloadmisskey-ce340aba7a37394c70b9f3d7cece9cfa5e91d94c.tar.gz
misskey-ce340aba7a37394c70b9f3d7cece9cfa5e91d94c.tar.bz2
misskey-ce340aba7a37394c70b9f3d7cece9cfa5e91d94c.zip
Refactor (#7394)
* wip * wip * wip * wip * wip * Update define.ts * Update update.ts * Update user.ts * wip * wip * Update request.ts * URL * wip * wip * wip * wip * Update invite.ts * Update create.ts
Diffstat (limited to 'src/server/api/endpoints/games/reversi/match.ts')
-rw-r--r--src/server/api/endpoints/games/reversi/match.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/api/endpoints/games/reversi/match.ts b/src/server/api/endpoints/games/reversi/match.ts
index fca4b09641..2c4ec2ebd8 100644
--- a/src/server/api/endpoints/games/reversi/match.ts
+++ b/src/server/api/endpoints/games/reversi/match.ts
@@ -72,7 +72,7 @@ export default define(meta, async (ps, user) => {
isLlotheo: false
} as Partial<ReversiGame>);
- publishReversiStream(exist.parentId, 'matched', await ReversiGames.pack(game, exist.parentId));
+ publishReversiStream(exist.parentId, 'matched', await ReversiGames.pack(game, { id: exist.parentId }));
const other = await ReversiMatchings.count({
childId: user.id