diff --git a/src/GitHub.Api/SimpleApiClient.cs b/src/GitHub.Api/SimpleApiClient.cs index 992f974e82..aa4801676e 100644 --- a/src/GitHub.Api/SimpleApiClient.cs +++ b/src/GitHub.Api/SimpleApiClient.cs @@ -133,7 +133,7 @@ async Task IsEnterpriseInternal() return false; #endif var ret = await probe.ProbeAsync(HostAddress.WebUri); - return (ret == EnterpriseProbeResult.Ok); + return (ret == Services.EnterpriseProbeResult.Ok); } } } diff --git a/src/GitHub.App/Api/ApiClient.cs b/src/GitHub.App/Api/ApiClient.cs index 44f9ed39b7..d17196cdde 100644 --- a/src/GitHub.App/Api/ApiClient.cs +++ b/src/GitHub.App/Api/ApiClient.cs @@ -77,7 +77,7 @@ public IObservable CreatePullRequestReviewComment( Guard.ArgumentNotEmptyString(path, nameof(path)); var comment = new PullRequestReviewCommentCreate(body, commitId, path, position); - return gitHubClient.PullRequest.Comment.Create(owner, name, number, comment); + return gitHubClient.PullRequest.ReviewComment.Create(owner, name, number, comment); } public IObservable CreatePullRequestReviewComment( @@ -88,7 +88,7 @@ public IObservable CreatePullRequestReviewComment( int inReplyTo) { var comment = new PullRequestReviewCommentReplyCreate(body, inReplyTo); - return gitHubClient.PullRequest.Comment.CreateReply(owner, name, number, comment); + return gitHubClient.PullRequest.ReviewComment.CreateReply(owner, name, number, comment); } public IObservable CreateGist(NewGist newGist) @@ -303,7 +303,7 @@ public IObservable GetPullRequestReviewComments(string Guard.ArgumentNotEmptyString(owner, nameof(owner)); Guard.ArgumentNotEmptyString(name, nameof(name)); - return gitHubClient.PullRequest.Comment.GetAll(owner, name, number); + return gitHubClient.PullRequest.ReviewComment.GetAll(owner, name, number); } public IObservable GetPullRequestsForRepository(string owner, string name) diff --git a/submodules/octokit.net b/submodules/octokit.net index 2436b20db9..b01f3422f2 160000 --- a/submodules/octokit.net +++ b/submodules/octokit.net @@ -1 +1 @@ -Subproject commit 2436b20db91387ab51a5b6456fc1af4aa15fd59d +Subproject commit b01f3422f2ac0ce65955976dc926cfe26c373abf