class ProjectInviteRestServiceImpl extends BaseRestService implements ProjectInviteRestService {

    @Override
    public RestResult<Void> acceptInvite(String inviteHash, Long userId) {
        String url = PROJECT_INVITE_BASE_URL + ACCEPT_INVITE + inviteHash + "/" + userId;
        return putWithRestResultAnonymous(url, Void.class);
    }

}