class ReviewController {

    @PutMapping("/review/{id}/accept")
    public RestResult<Void> acceptInvitation(@PathVariable("id") long id) {
        return reviewService.acceptReview(id).toPutResponse();
    }

}