class CompetitionInviteController {

    @GetMapping("/invite-accept/competition/{inviteHash}/accept")
    @SecuredBySpring(value= "TODO", description = "TODO")
    @PreAuthorize("hasAuthority('assessor')")
    public String confirmAcceptInvite(@PathVariable("inviteHash") String inviteHash) {
        inviteRestService.acceptInvite(inviteHash).getSuccess();
        return "redirect:/assessor/dashboard";
    }

}