mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-07 20:30:41 +00:00
Make Repository Id a long, it's going to grow...
This commit is contained in:
@@ -37,7 +37,7 @@ namespace Octokit
|
||||
/// <remarks>https://developer.github.com/v3/reactions/#list-reactions-for-a-pull-request-review-comment</remarks>
|
||||
/// <param name="repositoryId">The Id of the repository</param>
|
||||
/// <param name="number">The comment id</param>
|
||||
public Task<IReadOnlyList<Reaction>> GetAll(int repositoryId, int number)
|
||||
public Task<IReadOnlyList<Reaction>> GetAll(long repositoryId, int number)
|
||||
{
|
||||
return ApiConnection.GetAll<Reaction>(ApiUrls.PullRequestReviewCommentReaction(repositoryId, number), AcceptHeaders.ReactionsPreview);
|
||||
}
|
||||
@@ -66,7 +66,7 @@ namespace Octokit
|
||||
/// <param name="repositoryId">The Id of the repository</param>
|
||||
/// <param name="number">The comment id</param>
|
||||
/// <param name="reaction">The reaction to create</param>
|
||||
public Task<Reaction> Create(int repositoryId, int number, NewReaction reaction)
|
||||
public Task<Reaction> Create(long repositoryId, int number, NewReaction reaction)
|
||||
{
|
||||
Ensure.ArgumentNotNull(reaction, "reaction");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user