class InterviewInviteServiceImpl extends InviteService<InterviewInvite> implements InterviewInviteService {

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

}