remove response status annotation, as now correctly handled in the ResponseEntity inside the respective controller

This commit is contained in:
2025-10-29 12:49:18 +01:00
parent 633ed64b62
commit 165c9bba28
3 changed files with 0 additions and 3 deletions

View File

@@ -5,7 +5,6 @@ import lombok.extern.slf4j.Slf4j;
import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.ResponseStatus;
@ResponseStatus(value = HttpStatus.CONFLICT, reason = "TEAM_EXISTS")
@Slf4j
public class TeamExistsException extends RuntimeException {
public TeamExistsException(String message, Team team) {