fix: beter commentaar en van nl naar eng vertaald

This commit is contained in:
Gabriellvl 2025-02-28 17:12:21 +01:00
parent d401136d3a
commit ac778981e2
2 changed files with 9 additions and 11 deletions

View file

@ -3,7 +3,12 @@ import { getThemes, getThemeByTitle } from '../controllers/themes.js';
const router = express.Router();
// query: language
// Route to fetch list of {key, title, description, image} themes in their respective language
router.get('/', getThemes);
// arg: theme (key)
// Route to fetch list of hruids based on theme
router.get('/:theme', getThemeByTitle);
export default router;