We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a48ee84 commit 92b3090Copy full SHA for 92b3090
scripts/my-github-issues.js
@@ -15,11 +15,10 @@ function alfredMatcher(str) {
15
16
// biome-ignore lint/correctness/noUnusedVariables: alfred_run
17
function run() {
18
- const resultsNumber = 50; // api allows up to 100
19
const username = $.getenv("github_username");
20
21
// 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}`;
+ const apiURL = `https://api.github.com/search/issues?q=involves:${username}&sort=updated&per_page=100`;
23
24
const issues = JSON.parse(app.doShellScript(`curl -sL "${apiURL}"`)).items.map(
25
(/** @type {GithubIssue} */ item) => {
0 commit comments