瀏覽代碼

Update callmebotWhatsApp.sh

unused variable removed and cleaned.
Sandeep Mittal 3 年之前
父節點
當前提交
9aaae24583
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      notify/callmebotWhatsApp.sh

+ 1 - 1
notify/callmebotWhatsApp.sh

@@ -28,7 +28,7 @@ callmebotWhatsApp_send() {
 
   _Phone_No="$(printf "%s" "$CALLMEBOT_YOUR_PHONE_NO" | _url_encode)"
   _apikey="$(printf "%s" "$CALLMEBOT_API_KEY" | _url_encode)"
-  _message="$(printf "$CQHTTP_CUSTOM_MSGHEAD *%s*\\n%s" "$_subject" "$_content" | _url_encode)"
+  _message="$(printf "*%s*\\n%s" "$_subject" "$_content" | _url_encode)"
 
   _finalUrl="$_waUrl?phone=$_Phone_No&apikey=$_apikey&text=$_message"
   response="$(_get "$_finalUrl")"