From: Calin Crisan Date: Fri, 13 Nov 2015 13:37:19 +0000 (+0200) Subject: fixed webhook post setting X-Git-Url: http://www.vanbest.org/gitweb/?a=commitdiff_plain;h=958da70cf9b4c717eac49410015d3face158e19c;p=motioneye-debian fixed webhook post setting --- diff --git a/motioneye/config.py b/motioneye/config.py index 415098f..e358fe8 100644 --- a/motioneye/config.py +++ b/motioneye/config.py @@ -1197,7 +1197,7 @@ def motion_camera_dict_to_ui(data): continue ui['web_hook_notifications_enabled'] = True - ui['web_hook_notifications_http_method'] = e[-1] + ui['web_hook_notifications_http_method'] = e[-2] ui['web_hook_notifications_url'] = e[-1] elif e.count('relayevent') or e.count('eventrelay.py'):