Skip to content

Commit

Permalink
Change from int to long for issue id in "NewPullRequest"
Browse files Browse the repository at this point in the history
  • Loading branch information
Leh2 committed Feb 22, 2024
1 parent b1d53cc commit cc2dd92
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Octokit/Models/Request/NewPullRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public NewPullRequest(string title, string head, string baseRef)
/// <param name="issueId">The number of an existing issue to convert into a pull request.</param>
/// <param name="head">The branch (or git ref where your changes are implemented. In other words, the source branch/ref</param>
/// <param name="baseRef">The base (or git ref) reference you want your changes pulled into. In other words, the target branch/ref</param>
public NewPullRequest(int issueId, string head, string baseRef)
public NewPullRequest(long issueId, string head, string baseRef)
{
Ensure.ArgumentNotNullOrEmptyString(head, nameof(head));
Ensure.ArgumentNotNullOrEmptyString(baseRef, nameof(baseRef));
Expand All @@ -50,7 +50,7 @@ public NewPullRequest(int issueId, string head, string baseRef)
/// <summary>
/// The number of an existing issue to convert into a pull request (required if <see cref="Title"/> not provided).
/// </summary>
public int? IssueId { get; private set; }
public long? IssueId { get; private set; }

/// <summary>
/// The branch (or git ref) you want your changes pulled into (required).
Expand Down

0 comments on commit cc2dd92

Please sign in to comment.