fix: example urls bij learningPaths.ts
This commit is contained in:
parent
acfffda82d
commit
594aa540dd
3 changed files with 118 additions and 3 deletions
|
@ -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) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue