зеркало из https://github.com/github/VisualStudio.git
Родитель
a6b9482be4
Коммит
e8f3df8260
|
@ -133,7 +133,7 @@ namespace GitHub.Api
|
|||
return false;
|
||||
#endif
|
||||
var ret = await probe.ProbeAsync(HostAddress.WebUri);
|
||||
return (ret == EnterpriseProbeResult.Ok);
|
||||
return (ret == Services.EnterpriseProbeResult.Ok);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -77,7 +77,7 @@ namespace GitHub.Api
|
|||
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(
|
||||
|
@ -88,7 +88,7 @@ namespace GitHub.Api
|
|||
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)
|
||||
|
@ -303,7 +303,7 @@ namespace GitHub.Api
|
|||
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)
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 2436b20db91387ab51a5b6456fc1af4aa15fd59d
|
||||
Subproject commit b01f3422f2ac0ce65955976dc926cfe26c373abf
|
Загрузка…
Ссылка в новой задаче