1
0
mirror of https://github.com/community-scripts/ProxmoxVE.git synced 2025-02-01 16:51:52 +00:00

[API] update build.func (#1880)

This commit is contained in:
Michel Roegl-Brunner 2025-01-30 20:00:20 +01:00 committed by GitHub
parent a359ffc211
commit 72335f2c4e
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:-}" local status="${1:failed}"
JSON_PAYLOAD=$(cat <<EOF JSON_PAYLOAD=$(cat <<EOF
{ {
"status": "$status", "status": "$status",