mirror of
https://github.com/PaulReichmuth/timekeep-backend.git
synced 2026-02-06 04:53:25 +00:00
fix typo
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user