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

[API] update build.func

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