Implements getting the team info for a Hunter in a Hunt

This commit is contained in:
2026-05-13 00:08:08 -05:00
parent b2ba9ce676
commit 46132bb4fd
3 changed files with 13 additions and 2 deletions

View File

@@ -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())
}
}