Skip to content

Commit

Permalink
Merge pull request #2231 from HHS/jp/flip-course-routes
Browse files Browse the repository at this point in the history
[NO-TICKET] Hotfix: course route registration order
  • Loading branch information
nvms authored Jun 25, 2024
2 parents db6705c + 1e873dc commit 32b7293
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/courses/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ import transactionWrapper from '../transactionWrapper';

const router = express.Router();
router.get('/', transactionWrapper(allCourses));
router.get('/dashboard', transactionWrapper(getCourseUrlWidgetDataWithCache));
router.get('/:id', transactionWrapper(getCourseById));
router.put('/:id', transactionWrapper(updateCourseById));
router.post('/', transactionWrapper(createCourseByName));
router.delete('/:id', transactionWrapper(deleteCourseById));
router.get('/dashboard', transactionWrapper(getCourseUrlWidgetDataWithCache));
export default router;

0 comments on commit 32b7293

Please sign in to comment.