Skip to content

Commit a1072f1

Browse files
committed
Fix
1 parent ee31816 commit a1072f1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/gameserver/repository/game-server-session.repository.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,9 @@ export class GameServerSessionRepository {
3030
public async findWith(
3131
playerId: PlayerId,
3232
): Promise<GameServerSessionEntity | undefined> {
33-
const all = await this.gameServerSessionModelRepository.find();
33+
const all = await this.gameServerSessionModelRepository.find({
34+
relations: ['players']
35+
});
3436

3537
return all.find(
3638
(t) =>

0 commit comments

Comments
 (0)