This commit is contained in:
2026-02-04 20:53:41 +01:00
parent 9396800850
commit 43e8a24ec1

View File

@@ -37,7 +37,7 @@ public class TeamService {
if (dbTeam == null){ if (dbTeam == null){
if(team.getId() != null) throw new TeamNotFoundException("Team with id "+team.getId()+" not found"); if(team.getId() != null) throw new TeamNotFoundException("Team with id "+team.getId()+" not found");
else throw new TeamNotFoundException("Team with id "+team.getTeamName()+" not found"); else throw new TeamNotFoundException("Team with name "+team.getTeamName()+" not found");
} }
return dbTeam; return dbTeam;
} }