From 1b88c0b3c940ddc1cc6d617c5ecf781f7652a700 Mon Sep 17 00:00:00 2001 From: Wes Todd Date: Sat, 2 Mar 2024 11:20:28 -0600 Subject: [PATCH] fix: oops, meant issues not pulls --- run.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run.js b/run.js index 12a4976..204d655 100644 --- a/run.js +++ b/run.js @@ -92,7 +92,7 @@ const conversions = require('./lib/conversions') let agendaIssues = [] for (const r of repos) { console.log(`Fetching issues for ${r.owner}/${r.repo}`) - const _agendaIssues = await client.paginate('GET /repos/{owner}/{repo}/pulls', { + const _agendaIssues = await client.paginate('GET /repos/{owner}/{repo}/issues', { owner: r.owner, repo: r.repo, state: 'open',