diff --git a/scripts/PushToAPI.sh b/scripts/PushToAPI.sh index a7378ed8..a29d509d 100644 --- a/scripts/PushToAPI.sh +++ b/scripts/PushToAPI.sh @@ -22,4 +22,4 @@ jar_name="leaves-$mcversion.jar" jar_sha256=$(sha256 "$jar_name") # shellcheck disable=SC2154 -curl --location --request POST "https://api.leavesmc.org/v2/commit/build" --header "Content-Type: application/json" --header "Authentication: Bearer $secret_v2" --data-raw "{\"project_id\":\"$project_id\",\"version\":\"$mcversion\",\"channel\":\"$channel\",\"changes\":\"$changes\",\"jar_name\":\"$jar_name\",\"sha256\":\"$jar_sha256\",\"tag\":\"$tag\"}" \ No newline at end of file +curl --location --request POST "https://api.leavesmc.org/v2/commit/build" --header "Content-Type: application/json" --header "Authorization: Bearer $secret_v2" --data-raw "{\"project_id\":\"$project_id\",\"version\":\"$mcversion\",\"channel\":\"$channel\",\"changes\":\"$changes\",\"jar_name\":\"$jar_name\",\"sha256\":\"$jar_sha256\",\"tag\":\"$tag\"}" \ No newline at end of file