Make Repository Id a long, it's going to grow...

This commit is contained in:
Andreia Gaita
2016-06-23 17:07:03 +02:00
parent 58833602b7
commit 9e958bf998
169 changed files with 1041 additions and 1037 deletions
@@ -44,7 +44,7 @@ namespace Octokit.Reactive
/// <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 IObservable<Reaction> GetAll(int repositoryId, int number)
public IObservable<Reaction> GetAll(long repositoryId, int number)
{
return _connection.GetAndFlattenAllPages<Reaction>(ApiUrls.PullRequestReviewCommentReaction(repositoryId, number), null, AcceptHeaders.ReactionsPreview);
}
@@ -73,7 +73,7 @@ namespace Octokit.Reactive
/// <param name="repositoryId">The owner of the repository</param>
/// <param name="number">The comment id</param>
/// <param name="reaction">The reaction to create</param>
public IObservable<Reaction> Create(int repositoryId, int number, NewReaction reaction)
public IObservable<Reaction> Create(long repositoryId, int number, NewReaction reaction)
{
Ensure.ArgumentNotNull(reaction, "reaction");