removed nuisance print
This commit is contained in:
@@ -28,7 +28,6 @@ eventRouter.get('/', async (req: Request, res: Response) => {
|
|||||||
eventRouter.get('/:id', async (req: Request, res: Response) => {
|
eventRouter.get('/:id', async (req: Request, res: Response) => {
|
||||||
try {
|
try {
|
||||||
let out = await getCourseEventDetails(Number(req.params.id));
|
let out = await getCourseEventDetails(Number(req.params.id));
|
||||||
console.log(out);
|
|
||||||
res.status(200).json(out);
|
res.status(200).json(out);
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error('failed to fetch report', error);
|
console.error('failed to fetch report', error);
|
||||||
|
|||||||
Reference in New Issue
Block a user