Update callmebotWhatsApp.sh

unused variable removed and cleaned.
This commit is contained in:
Sandeep Mittal 2022-05-09 16:33:26 +05:30 committed by neil
parent 915ced7b92
commit 9aaae24583

View File

@ -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")"