Initial work to add the SQLite plugin and builtin recipient

This commit is contained in:
Simone Mainardi 2020-09-03 19:35:28 +02:00
parent e1f07e1787
commit 1d4930fc13
14 changed files with 220 additions and 25 deletions

View file

@ -19,4 +19,13 @@ end
local endpoints = notification_configs.get_configs()
print(json.encode(endpoints))
-- Exclude builtin configs
-- Such configs will be possibly made non-editable non-deletable later
local res = {}
for _, config in pairs(endpoints) do
if not config.endpoint_conf.builtin then
res[#res + 1] = config
end
end
print(json.encode(res))