mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
Refactors notification endpoints into notification configs
This commit is contained in:
parent
5d798db8fc
commit
8cb1bc7a34
7 changed files with 35 additions and 35 deletions
|
|
@ -10,7 +10,7 @@ local page_utils = require("page_utils")
|
|||
local template = require "template_utils"
|
||||
local json = require "dkjson"
|
||||
local plugins_utils = require("plugins_utils")
|
||||
local notification_endpoints = require("notification_endpoints")
|
||||
local notification_configs = require("notification_configs")
|
||||
|
||||
sendHTTPContentTypeHeader('text/html')
|
||||
|
||||
|
|
@ -27,7 +27,7 @@ page_utils.print_page_title(i18n("endpoint_notifications.endpoint_list"))
|
|||
-- Prepare the response
|
||||
local context = {
|
||||
notifications = {
|
||||
endpoints = notification_endpoints.get_types(),
|
||||
endpoints = notification_configs.get_types(),
|
||||
},
|
||||
template_utils = template,
|
||||
page_utils = page_utils,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue