We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ee31816 commit a1072f1Copy full SHA for a1072f1
src/gameserver/repository/game-server-session.repository.ts
@@ -30,7 +30,9 @@ export class GameServerSessionRepository {
30
public async findWith(
31
playerId: PlayerId,
32
): Promise<GameServerSessionEntity | undefined> {
33
- const all = await this.gameServerSessionModelRepository.find();
+ const all = await this.gameServerSessionModelRepository.find({
34
+ relations: ['players']
35
+ });
36
37
return all.find(
38
(t) =>
0 commit comments