1
0
mirror of https://github.com/community-scripts/ProxmoxVE.git synced 2025-02-01 17:31:49 +00:00

Revert "[API] update build.func (#1880)" (#1883)

This reverts commit 72335f2c4e90c45fc06ff6d80ca28a66e1c4c34b.
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 return 0
fi fi
local API_URL="http://api.community-scripts.org/upload/updatestatus" local API_URL="http://api.community-scripts.org/upload/updatestatus"
local status="${1:failed}" local status="${1:-}"
JSON_PAYLOAD=$(cat <<EOF JSON_PAYLOAD=$(cat <<EOF
{ {
"status": "$status", "status": "$status",