Update callmebotWhatsApp.sh

This commit is contained in:
neil 2022-05-09 10:43:23 +08:00
parent 5a36b9075f
commit 915ced7b92

View File

@ -20,7 +20,7 @@ callmebotWhatsApp_send() {
_saveaccountconf_mutable CALLMEBOT_YOUR_PHONE_NO "$CALLMEBOT_YOUR_PHONE_NO"
CALLMEBOT_API_KEY="${CALLMEBOT_API_KEY:-$(_readaccountconf_mutable CALLMEBOT_API_KEY)}"
if [ -n "$CALLMEBOT_API_KEY" ]; then
if [ "$CALLMEBOT_API_KEY" ]; then
_saveaccountconf_mutable CALLMEBOT_API_KEY "$CALLMEBOT_API_KEY"
fi