fix: example urls bij learningPaths.ts

This commit is contained in:
Gabriellvl 2025-02-28 18:52:48 +01:00
parent acfffda82d
commit 594aa540dd
3 changed files with 118 additions and 3 deletions

View file

@ -25,7 +25,6 @@ function loadTranslations(language: string): Translations {
}
}
export function getThemes(req: Request, res: Response) {
const language = (req.query.language as string)?.toLowerCase() || 'nl';
const translations = loadTranslations(language);
@ -43,7 +42,6 @@ export function getThemes(req: Request, res: Response) {
res.json(themeList);
}
export function getThemeByTitle(req: Request, res: Response) {
const themeKey = req.params.theme;
const theme = themes.find((t) => {