fix: lint + format

This commit is contained in:
Gabriellvl 2025-02-28 17:21:03 +01:00
parent ac778981e2
commit acfffda82d
8 changed files with 162 additions and 118 deletions

View file

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