mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2025-01-19 01:35:28 +01:00
Make webhook edit page data method calls
This commit is contained in:
parent
f742a5026c
commit
bd1b67e83b
@ -1123,8 +1123,8 @@ class PanelHandler(BaseHandler):
|
||||
page_data["webhook"]["trigger"]
|
||||
).split(",")
|
||||
|
||||
page_data["providers"] = WebhookFactory.get_supported_providers
|
||||
page_data["triggers"] = WebhookFactory.get_monitored_events
|
||||
page_data["providers"] = WebhookFactory.get_supported_providers()
|
||||
page_data["triggers"] = WebhookFactory.get_monitored_events()
|
||||
|
||||
if not EnumPermissionsServer.CONFIG in page_data["user_permissions"]:
|
||||
if not superuser:
|
||||
|
Loading…
x
Reference in New Issue
Block a user