🌐 AI搜索 & 代理 主页
Skip to content

Commit 7199f89

Browse files
committed
Correct lower-case issue state
1 parent 82c4930 commit 7199f89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/github/issues.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1384,7 +1384,7 @@ func ListIssues(getGQLClient GetGQLClientFn, t translations.TranslationHelperFun
13841384
// If the state has a value, cast into an array of strings
13851385
var states []githubv4.IssueState
13861386
if state != "" {
1387-
states = append(states, githubv4.IssueState(state))
1387+
states = append(states, githubv4.IssueState(strings.ToUpper(state)))
13881388
} else {
13891389
states = []githubv4.IssueState{githubv4.IssueStateOpen, githubv4.IssueStateClosed}
13901390
}

0 commit comments

Comments
 (0)