feat: added route for learningObjects
This commit is contained in:
parent
e8e1d94e5b
commit
d401136d3a
7 changed files with 116 additions and 10 deletions
11
backend/src/routes/learningObjects.ts
Normal file
11
backend/src/routes/learningObjects.ts
Normal 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;
|
Loading…
Add table
Add a link
Reference in a new issue