Browse Source

Update callmebotWhatsApp.sh

unused variable removed and cleaned.
pull/4068/head
Sandeep Mittal 4 years ago
committed by GitHub
parent
commit
f295b30611
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      notify/callmebotWhatsApp.sh

2
notify/callmebotWhatsApp.sh

@ -28,7 +28,7 @@ callmebotWhatsApp_send() {
_Phone_No="$(printf "%s" "$CALLMEBOT_YOUR_PHONE_NO" | _url_encode)" _Phone_No="$(printf "%s" "$CALLMEBOT_YOUR_PHONE_NO" | _url_encode)"
_apikey="$(printf "%s" "$CALLMEBOT_API_KEY" | _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" _finalUrl="$_waUrl?phone=$_Phone_No&apikey=$_apikey&text=$_message"
response="$(_get "$_finalUrl")" response="$(_get "$_finalUrl")"

Loading…
Cancel
Save