Added game.id and team.id
All checks were successful
Gitea/swiss-backend/pipeline/head This commit looks good

This commit is contained in:
2025-08-12 23:32:11 +02:00
parent 0b6d15b313
commit 3365c19f78
4 changed files with 6 additions and 0 deletions

View File

@@ -14,6 +14,7 @@ public class TeamMapper implements DtoMapper<Team, TeamDto> {
@Override
public TeamDto toDto(Team team) {
var teamDto = new TeamDto();
teamDto.setId(team.getId());
teamDto.setPlayer1(playerMapper.toDto(team.getPlayer1()));
if (team.getPlayer2() != null) {