Skip to content

Commit 2e2db66

Browse files
authored
Revert "[API] update build.func (#1880)" (#1883)
This reverts commit 72335f2.
1 parent 72335f2 commit 2e2db66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

misc/build.func

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -837,7 +837,7 @@ post_update_to_api() {
837837
return 0
838838
fi
839839
local API_URL="http://api.community-scripts.org/upload/updatestatus"
840-
local status="${1:failed}"
840+
local status="${1:-}"
841841
JSON_PAYLOAD=$(cat <<EOF
842842
{
843843
"status": "$status",

0 commit comments

Comments
 (0)