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

Commit

Permalink
Updated octokit to 0.24.0.
Browse files Browse the repository at this point in the history
Fixes #1098
  • Loading branch information
grokys committed Aug 1, 2017
1 parent a6b9482 commit e8f3df8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/GitHub.Api/SimpleApiClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ async Task<bool> IsEnterpriseInternal()
return false;
#endif
var ret = await probe.ProbeAsync(HostAddress.WebUri);
return (ret == EnterpriseProbeResult.Ok);
return (ret == Services.EnterpriseProbeResult.Ok);
}
}
}
6 changes: 3 additions & 3 deletions src/GitHub.App/Api/ApiClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public IObservable<PullRequestReviewComment> 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<PullRequestReviewComment> CreatePullRequestReviewComment(
Expand All @@ -88,7 +88,7 @@ public IObservable<PullRequestReviewComment> 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<Gist> CreateGist(NewGist newGist)
Expand Down Expand Up @@ -303,7 +303,7 @@ public IObservable<PullRequestReviewComment> 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<PullRequest> GetPullRequestsForRepository(string owner, string name)
Expand Down
2 changes: 1 addition & 1 deletion submodules/octokit.net
Submodule octokit.net updated 373 files

0 comments on commit e8f3df8

Please sign in to comment.