fix: use /pulls instead of /pulls/pinned #4

Merged
lyn merged 10 commits from fix/pr-list-endpoint into main 2026-04-01 17:09:04 +00:00
Showing only changes of commit 77fa2f77bc - Show all commits

View File

@@ -97,7 +97,7 @@ cmd_list() {
echo "Listing PRs for: $OWNER/$REPO_NAME" echo "Listing PRs for: $OWNER/$REPO_NAME"
RESPONSE=$(curl -s -X GET "https://git.hangman-lab.top/api/v1/repos/${OWNER}/${REPO_NAME}/pulls/pinned" \ RESPONSE=$(curl -s -X GET "https://git.hangman-lab.top/api/v1/repos/${OWNER}/${REPO_NAME}/pulls" \
-H 'accept: application/json' \ -H 'accept: application/json' \
-H "Authorization: token ${token}") -H "Authorization: token ${token}")