mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-11-22 21:57:58 +01:00
lint fix
This commit is contained in:
parent
91522381b6
commit
bc7b2f1876
1 changed files with 1 additions and 1 deletions
|
@ -370,7 +370,7 @@ export class ReversiService implements OnApplicationShutdown, OnModuleInit {
|
|||
|
||||
if (o.isEnded) {
|
||||
this.globalEventService.publishReversiGameStream(game.id, 'ended', {
|
||||
winnerId: winner,
|
||||
winnerId: winner ?? null,
|
||||
game: await this.reversiGameEntityService.packDetail(game.id, user),
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue