]> www.vanbest.org Git - motioneye-debian/commitdiff
fixed webhook post setting
authorCalin Crisan <ccrisan@gmail.com>
Fri, 13 Nov 2015 13:37:19 +0000 (15:37 +0200)
committerCalin Crisan <ccrisan@gmail.com>
Fri, 13 Nov 2015 13:37:19 +0000 (15:37 +0200)
motioneye/config.py

index 415098f4a1b7a9eb7df5a23d4c1fba7495322018..e358fe84a862409e9c7353a83fe58c9f060a4c1b 100644 (file)
@@ -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'):