Revert "[API] update build.func (#1880)" (#1883)
Some checks are pending
Shellcheck / Shellcheck (push) Waiting to run
Create Changelog Pull Request / update-changelog-pull-request (push) Waiting to run
Frontend CI/CD / build (push) Waiting to run
Frontend CI/CD / deploy (push) Blocked by required conditions

This reverts commit 72335f2c4e.
This commit is contained in:
CanbiZ 2025-01-30 20:46:19 +01:00 committed by GitHub
parent 72335f2c4e
commit 2e2db6603e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -837,7 +837,7 @@ post_update_to_api() {
return 0
fi
local API_URL="http://api.community-scripts.org/upload/updatestatus"
local status="${1:failed}"
local status="${1:-}"
JSON_PAYLOAD=$(cat <<EOF
{
"status": "$status",