Skip to content

Commit

Permalink
Define query variables
Browse files Browse the repository at this point in the history
  • Loading branch information
eddumelendez committed Jun 14, 2020
1 parent 9aebb66 commit a164056
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/queries_issue.go
Expand Up @@ -212,7 +212,7 @@ func IssueList(client *Client, repo ghrepo.Interface, state string, labels []str
}

query := fragments + `
query($owner: String!, $repo: String!, $limit: Int, $endCursor: String, $states: [IssueState!] = OPEN, $labels: [String!], $assignee: String, $author: String) {
query($owner: String!, $repo: String!, $limit: Int, $endCursor: String, $states: [IssueState!] = OPEN, $labels: [String!], $assignee: String, $author: String, $mentioned: String, $milestone: String) {
repository(owner: $owner, name: $repo) {
hasIssuesEnabled
issues(first: $limit, after: $endCursor, orderBy: {field: CREATED_AT, direction: DESC}, states: $states, labels: $labels, filterBy: {assignee: $assignee, createdBy: $author, mentioned: $mentioned, milestone: $milestone}) {
Expand Down

0 comments on commit a164056

Please sign in to comment.