From 2944d4df05d49fdda19cc69143e891cc2bb26b33 Mon Sep 17 00:00:00 2001 From: DualFroz Date: Thu, 23 Jul 2026 07:24:51 +0200 Subject: [PATCH] fix: GitHub list_issues built the wrong URL for org-owned repos MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Used format!("repos/{owner}/{repo}/issues", ...) instead of the slug() helper list_pull_requests already uses, so an org-owned repo (passed as 'Org/repo') produced repos/{personal_owner}/Org/repo/issues — a 404 the code silently swallows into an empty list, making the Issues tab look like 'no issues' instead of a broken request. --- src/providers/github.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/providers/github.rs b/src/providers/github.rs index 4afaf80..e12d43a 100644 --- a/src/providers/github.rs +++ b/src/providers/github.rs @@ -418,8 +418,8 @@ impl Provider for GitHubProvider { async fn list_issues(&self, repo: &str) -> Result> { let resp = self.client .get(self.url(&format!( - "repos/{}/{}/issues?state=open&per_page=100&pulls=false", - self.owner, repo + "repos/{}/issues?state=open&per_page=100&pulls=false", + self.slug(repo) ))) .send().await?; if !resp.status().is_success() { return Ok(vec![]); }