Skip to content

Commit

Permalink
Fix CfCore API call
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander01998 committed Jan 8, 2025
1 parent 51e8c6f commit ca18756
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/multi_auto_snapshot_update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,8 @@ jobs:
fi
RESPONSE=$(curl -s -w "%{http_code}" \
-H "Accept: application/json" \
-H "x-api-key: ${{ secrets.CFCORE_API_KEY }}" \
# Must use single quotes here because the API keys contain $
-H 'x-api-key: ${{ secrets.CFCORE_API_KEY }}' \
"https://api.curseforge.com/v1/mods/306612/files")
STATUS_CODE=${RESPONSE: -3}
BODY=${RESPONSE::-3}
Expand Down

0 comments on commit ca18756

Please sign in to comment.