Implements getting the team info for a Hunter in a Hunt
This commit is contained in:
@@ -46,6 +46,6 @@ class HunterController(private val hunterService: HunterService,
|
||||
@GetMapping("/hunt/{huntId}/team")
|
||||
@Operation(summary = "Gets the Team for the Hunter for the specified Hunt")
|
||||
fun getHunterHuntTeam(@PathVariable huntId: HuntId, authentication: Authentication): ResponseEntity<TeamResponse> {
|
||||
TODO("Get the Team information for the Hunt for the Hunter (AKA the user)")
|
||||
return ResponseEntity.ok(teamService.getTeamForHunterInHunt(huntId, authentication.name).toResponse())
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user