remove extra data
This commit is contained in:
parent
efeddbb6be
commit
e173fb53b0
1 changed files with 1 additions and 1 deletions
|
@ -229,7 +229,7 @@ if [ "${mail_alert}" == "true" ]; then
|
|||
fi
|
||||
|
||||
if [ -n "${ntfy_server}" ]; then
|
||||
ntfy_data="{ ${data}, \"topic\": \"motion_detection\", \"message\": \"Motion event '${event_type}' on host '${motion_host}' camera '${camera_name}'\", \"email\": \"${email_destination}\" }"
|
||||
ntfy_data="{ \"topic\": \"motion_detection\", \"message\": \"Motion 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}"
|
||||
|
|
Loading…
Reference in a new issue