feat: change the pull request handling

This commit is contained in:
2024-12-29 21:19:05 +01:00
parent f46f60b723
commit 4927f0b2ec
4 changed files with 66 additions and 21 deletions

View File

@@ -133,7 +133,7 @@ local function list_issues(owner, repo, on_done)
if not owner or not repo then
return
end
local ep = string.format("/api/v1/repos/%s/%s/issues", owner, repo)
local ep = string.format("/api/v1/repos/%s/%s/issues?type=issues", owner, repo)
core.request("GET", ep, nil, function(data, err)
if err then
vim.schedule(function()