class ReviewInviteServiceImpl extends InviteService<ReviewInvite> implements ReviewInviteService {

    @Override
    public ServiceResult<Void> acceptInvite(String inviteHash) {
        return getParticipantByInviteHash(inviteHash)
                .andOnSuccess(ReviewInviteServiceImpl::accept)
                .andOnSuccess(this::assignAllPanelApplicationsToParticipant)
                .andOnSuccessReturnVoid();
    }

}