Added game.id and team.id
All checks were successful
Gitea/swiss-backend/pipeline/head This commit looks good
All checks were successful
Gitea/swiss-backend/pipeline/head This commit looks good
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user