Fix query parameter name
Signed-off-by: Babak K. Shandiz <babak.k.shandiz@gmail.com>
This commit is contained in:
parent
8f8c775cee
commit
78091c4aff
1 changed files with 1 additions and 1 deletions
|
|
@ -716,7 +716,7 @@ type RefComparison struct {
|
|||
}
|
||||
|
||||
func ComparePullRequestBaseBranchWith(client *Client, repo ghrepo.Interface, prNumber int, headRef string) (*RefComparison, error) {
|
||||
query := `query ComparePullRequestBaseBranchWith($owner: String!, $repo: String!, $pr_number: Int!, $headRef: String!) {
|
||||
query := `query ComparePullRequestBaseBranchWith($owner: String!, $repo: String!, $pullRequestNumber: Int!, $headRef: String!) {
|
||||
repository(owner: $owner, name: $repo) {
|
||||
pullRequest(number: $pullRequestNumber) {
|
||||
baseRef {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue