Corrected error duplicate container in docker compose
This commit is contained in:
@@ -46,7 +46,6 @@ public class AthleteResource {
|
||||
content = @Content(mediaType = "application/json",
|
||||
schema = @Schema(implementation = AthleteDTO.class)))
|
||||
})
|
||||
|
||||
@PostMapping("/create")
|
||||
@PreAuthorize("hasRole('Admin')") // Only admin can create??
|
||||
public ResponseEntity<AthleteDTO> create(@RequestBody AthleteDTO dto) {
|
||||
|
||||
Reference in New Issue
Block a user