feat: added route for learningObjects

This commit is contained in:
Gabriellvl 2025-02-28 17:04:52 +01:00
parent e8e1d94e5b
commit d401136d3a
7 changed files with 116 additions and 10 deletions

View file

@ -0,0 +1,11 @@
import express from "express";
import { getAllLearningObjects } from "../controllers/learningObjects.js";
const router = express.Router();
// arg: hruid learningPath
// query: language
// Route to fetch list of learning objects based on hruid of learning path
router.get("/:hruid", getAllLearningObjects);
export default router;