Skip to content

Commit 376d960

Browse files
committed
endpoints for t8s
1 parent 05189ff commit 376d960

File tree

1 file changed

+1
-1
lines changed
  • importer-db-api/src/routes

1 file changed

+1
-1
lines changed

importer-db-api/src/routes/t8s.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const router = express.Router()
1414
router.get('/employees/:personId/course_unit_realisations', async (req, res) => {
1515
try {
1616
const { personId } = req.params
17-
const today = new Date().toISOString().split('T')[0] // Format: YYYY-MM-DD
17+
const today = new Date().toISOString().split('T')[0]
1818

1919
const courseUnitRealisations = await models.CourseUnitRealisation.findAll({
2020
attributes: { exclude: ['studyGroupSets', 'customCodeUrns'] },

0 commit comments

Comments
 (0)