fix(pr): use /pulls instead of /pulls/pinned for list command
This commit is contained in:
@@ -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}")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user