diff --git a/backend/src/controllers/themes.ts b/backend/src/controllers/themes.ts index e772087a..b34d0c80 100644 --- a/backend/src/controllers/themes.ts +++ b/backend/src/controllers/themes.ts @@ -7,7 +7,7 @@ interface Translations { } export function getThemesHandler(req: Request, res: Response): void { - const language = (req.query.language as string || 'nl').toLowerCase(); + const language = ((req.query.language as string) || 'nl').toLowerCase(); const translations = loadTranslations(language); const themeList = themes.map((theme) => ({ key: theme.title,