From e9fa79c62212abb65285daef0cae1cca9d98c880 Mon Sep 17 00:00:00 2001 From: liv Date: Wed, 24 Apr 2024 22:10:23 +1000 Subject: [PATCH] _._ _,-'""`-._ (,-.`._,'( |\`-/| `-.-' \ )-`( , o o) `- \`_`"'- Co-authored-by: Jackson Trenerry <105094182+jtrenerry@users.noreply.github.com> --- backend/routes/routes.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/routes/routes.ts b/backend/routes/routes.ts index c9ce49c..c3104eb 100644 --- a/backend/routes/routes.ts +++ b/backend/routes/routes.ts @@ -84,7 +84,7 @@ router.get('/courses/:courseCode', async (req: Request, res: Response) => { WHERE courses.courseCode = $1 `, [courseCode]); res.status(200).json(course.rows); -} +}); // All courses router.get('/courses', async (req: Request, res: Response) => {