Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit e8f3df8

Browse files
committed
Updated octokit to 0.24.0.
Fixes #1098
1 parent a6b9482 commit e8f3df8

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

src/GitHub.Api/SimpleApiClient.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ async Task<bool> IsEnterpriseInternal()
133133
return false;
134134
#endif
135135
var ret = await probe.ProbeAsync(HostAddress.WebUri);
136-
return (ret == EnterpriseProbeResult.Ok);
136+
return (ret == Services.EnterpriseProbeResult.Ok);
137137
}
138138
}
139139
}

src/GitHub.App/Api/ApiClient.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ public IObservable<PullRequestReviewComment> CreatePullRequestReviewComment(
7777
Guard.ArgumentNotEmptyString(path, nameof(path));
7878

7979
var comment = new PullRequestReviewCommentCreate(body, commitId, path, position);
80-
return gitHubClient.PullRequest.Comment.Create(owner, name, number, comment);
80+
return gitHubClient.PullRequest.ReviewComment.Create(owner, name, number, comment);
8181
}
8282

8383
public IObservable<PullRequestReviewComment> CreatePullRequestReviewComment(
@@ -88,7 +88,7 @@ public IObservable<PullRequestReviewComment> CreatePullRequestReviewComment(
8888
int inReplyTo)
8989
{
9090
var comment = new PullRequestReviewCommentReplyCreate(body, inReplyTo);
91-
return gitHubClient.PullRequest.Comment.CreateReply(owner, name, number, comment);
91+
return gitHubClient.PullRequest.ReviewComment.CreateReply(owner, name, number, comment);
9292
}
9393

9494
public IObservable<Gist> CreateGist(NewGist newGist)
@@ -303,7 +303,7 @@ public IObservable<PullRequestReviewComment> GetPullRequestReviewComments(string
303303
Guard.ArgumentNotEmptyString(owner, nameof(owner));
304304
Guard.ArgumentNotEmptyString(name, nameof(name));
305305

306-
return gitHubClient.PullRequest.Comment.GetAll(owner, name, number);
306+
return gitHubClient.PullRequest.ReviewComment.GetAll(owner, name, number);
307307
}
308308

309309
public IObservable<PullRequest> GetPullRequestsForRepository(string owner, string name)

submodules/octokit.net

Submodule octokit.net updated 373 files

0 commit comments

Comments
 (0)