File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -15,11 +15,10 @@ function alfredMatcher(str) {
15
15
16
16
// biome-ignore lint/correctness/noUnusedVariables: alfred_run
17
17
function run ( ) {
18
- const resultsNumber = 50 ; // api allows up to 100
19
18
const username = $ . getenv ( "github_username" ) ;
20
19
21
20
// DOCS https://docs.github.com/en/rest/issues/issues?apiVersion=2022-11-28#list-issues-assigned-to-the-authenticated-user--parameters
22
- const apiURL = `https://api.github.com/search/issues?q=involves:${ username } &sort=updated&per_page=${ resultsNumber } ` ;
21
+ const apiURL = `https://api.github.com/search/issues?q=involves:${ username } &sort=updated&per_page=100 ` ;
23
22
24
23
const issues = JSON . parse ( app . doShellScript ( `curl -sL "${ apiURL } "` ) ) . items . map (
25
24
( /** @type {GithubIssue } */ item ) => {
You can’t perform that action at this time.
0 commit comments