remove email

This commit is contained in:
Antonio J. Delgado 2023-03-20 22:56:30 +02:00
parent 5776be40d7
commit bb24590a17

View file

@ -230,7 +230,7 @@ if [ "${mail_alert}" == "true" ]; then
fi
if [ -n "${ntfy_server}" ]; then
ntfy_data="{ \"topic\": \"motion_detection\", \"message\": \"Event ${event_type} on host ${motion_host} camera ${camera_name}\", \"email\": \"${email_destination}\" }"
ntfy_data="{ \"topic\": \"motion_detection\", \"message\": \"Event ${event_type} on host ${motion_host} camera ${camera_name}\"}" # , \"email\": \"${email_destination}\" }"
ntfy_password="$(cat "${ntfy_password_file}")"
message "Sending event to ntfy server '${ntfy_server}/motion_detection' ..."
message "Data: ${ntfy_data}"