From a16405650f7b99e42e99938ced5d81247edd1a49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edd=C3=BA=20Mel=C3=A9ndez?= Date: Sat, 13 Jun 2020 20:55:55 -0500 Subject: [PATCH] Define query variables --- api/queries_issue.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/queries_issue.go b/api/queries_issue.go index e43fb8ea3..55d7515f0 100644 --- a/api/queries_issue.go +++ b/api/queries_issue.go @@ -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}) {