diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2024-01-20 09:56:13 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2024-01-20 09:56:13 +0900 |
| commit | bc7b2f18762dac4dc515649e766741c076159757 (patch) | |
| tree | 765bac532ccc51151461f817c62c3e35f2589cfe /packages/backend/src/core/ReversiService.ts | |
| parent | Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop (diff) | |
| download | sharkey-bc7b2f18762dac4dc515649e766741c076159757.tar.gz sharkey-bc7b2f18762dac4dc515649e766741c076159757.tar.bz2 sharkey-bc7b2f18762dac4dc515649e766741c076159757.zip | |
lint fix
Diffstat (limited to 'packages/backend/src/core/ReversiService.ts')
| -rw-r--r-- | packages/backend/src/core/ReversiService.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/backend/src/core/ReversiService.ts b/packages/backend/src/core/ReversiService.ts index cd990ba775..6e80261330 100644 --- a/packages/backend/src/core/ReversiService.ts +++ b/packages/backend/src/core/ReversiService.ts @@ -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), }); } |