fix: format + lint
This commit is contained in:
parent
308661d72b
commit
e762621287
5 changed files with 87 additions and 39 deletions
|
@ -1,5 +1,8 @@
|
|||
import express from 'express';
|
||||
import {getAllLearningObjects, getLearningObject} from '../controllers/learningObjects.js';
|
||||
import {
|
||||
getAllLearningObjects,
|
||||
getLearningObject,
|
||||
} from '../controllers/learningObjects.js';
|
||||
|
||||
const router = express.Router();
|
||||
|
||||
|
@ -15,7 +18,6 @@ const router = express.Router();
|
|||
// Example 2: http://localhost:3000/learningObject?full=true&hruid=un_artificiele_intelligentie
|
||||
router.get('/', getAllLearningObjects);
|
||||
|
||||
|
||||
// Parameter: hruid of learning object
|
||||
// Query: language
|
||||
// Route to fetch data of one learning object based on its hruid
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue