fix(pr): use /pulls instead of /pulls/pinned for list command

This commit is contained in:
lyn
2026-04-01 15:57:17 +00:00
parent bd41addc7d
commit 77fa2f77bc

View File

@@ -97,7 +97,7 @@ cmd_list() {
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 "Authorization: token ${token}")