From 9bda18b42c05478b693c2f58606f66fd6721750c Mon Sep 17 00:00:00 2001 From: DragonAura <32223554+DragonAura@users.noreply.github.com> Date: Mon, 25 Mar 2024 13:25:18 +0800 Subject: [PATCH] Update compile.sh --- dependency/shell/compile.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dependency/shell/compile.sh b/dependency/shell/compile.sh index dae9a2dd..b013bd31 100644 --- a/dependency/shell/compile.sh +++ b/dependency/shell/compile.sh @@ -25,7 +25,7 @@ else fi if [ $flag -eq 1 ]; then - curl $URL -X POST -H "Content-Type: application/json" -H "Authorization: Bearer $TOKEN" -d '{"compile_status":"compiled"}' > $bind/curl_log.txt + curl $URL -X POST -H "Content-Type: application/json" -H "Authorization: Bearer $TOKEN" -d '{"compile_status":"Success"}' > $bind/curl_log.txt else - curl $URL -X POST -H "Content-Type: application/json" -H "Authorization: Bearer $TOKEN" -d '{"compile_status":"failed"}' > $bind/curl_log.txt + curl $URL -X POST -H "Content-Type: application/json" -H "Authorization: Bearer $TOKEN" -d '{"compile_status":"Failed"}' > $bind/curl_log.txt fi