Skip to content

Commit fc8ccf2

Browse files
authored
Fix downloads script (#288)
1 parent 41aa580 commit fc8ccf2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/misc/downloads-api.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ PROJECT="paper"
4848
MINECRAFT_VERSION="%%_MAJ_MIN_MC_%%"
4949
5050
LATEST_VERSION=$(curl -s https://api.papermc.io/v2/projects/paper | \
51-
jq -r '.versions[-1]'
51+
jq -r '.versions[-1]')
5252
5353
LATEST_BUILD=$(curl -s https://api.papermc.io/v2/projects/${PROJECT}/versions/${MINECRAFT_VERSION}/builds | \
5454
jq -r '.builds | map(select(.channel == "default") | .build) | .[-1]')

0 commit comments

Comments
 (0)