Migrate tiles from id to type

This commit is contained in:
Meier Lukas
2023-03-30 22:20:56 +02:00
parent 43dc1cd70c
commit 525985b1dc
14 changed files with 59 additions and 58 deletions

View File

@@ -39,7 +39,7 @@ async function Get(req: NextApiRequest, res: NextApiResponse) {
const config = getConfig(configName);
// Find the calendar widget in the config
const calendar = config.widgets.find((w) => w.id === 'calendar');
const calendar = config.widgets.find((w) => w.type === 'calendar');
const useSonarrv4 = calendar?.properties.useSonarrv4 ?? false;
const mediaAppIntegrationTypes: AppIntegrationType['type'][] = [