We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9e7d26c commit c93e603Copy full SHA for c93e603
1 file changed
src/backend/src/services/teams.services.ts
@@ -203,7 +203,7 @@ export default class TeamsService {
203
where: { teamName }
204
});
205
206
- if (duplicateName) throw new HttpException(400, 'The new team head must not be a head or lead of another team');
+ if (duplicateName) throw new HttpException(400, 'The new team name must not be the name of another team');
207
208
const createdTeam = await prisma.team.create({
209
data: {
0 commit comments