Change integration structure to array and rename to widgets in config

This commit is contained in:
Meierschlumpf
2022-12-19 17:03:39 +01:00
parent ed0146e7b0
commit 8f7a3111ca
21 changed files with 154 additions and 134 deletions

View File

@@ -13,7 +13,7 @@ async function Get(req: NextApiRequest, res: NextApiResponse) {
const config = getConfig(configName);
const dashDotUrl = config.integrations.dashdot?.properties.url;
const dashDotUrl = config.widgets.dashdot?.properties.url;
if (!dashDotUrl) {
return res.status(400).json({

View File

@@ -13,7 +13,7 @@ async function Get(req: NextApiRequest, res: NextApiResponse) {
const config = getConfig(configName);
const dashDotUrl = config.integrations.dashdot?.properties.url;
const dashDotUrl = config.widgets.dashdot?.properties.url;
if (!dashDotUrl) {
return res.status(400).json({