From 357f24dd2b671d5882fe44946213e1fb152c43fb Mon Sep 17 00:00:00 2001 From: "markiian.babiak" Date: Tue, 8 Jul 2025 15:03:24 -0400 Subject: [PATCH 1/2] Remove console logs --- backend/src/api/auth.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/backend/src/api/auth.ts b/backend/src/api/auth.ts index 21fac6f8..b26f3d47 100644 --- a/backend/src/api/auth.ts +++ b/backend/src/api/auth.ts @@ -242,7 +242,6 @@ router.get('/project/:id', isAuthenticated, async (req, res) => { }); router.get('/generate-api-key/:id', isAuthenticated, async (req, res) => { - console.log('here'); const userId = req.params.id; // 1. Find the user by the id From 04268d7de6e214d1b9d489436263cdbf96902723 Mon Sep 17 00:00:00 2001 From: "markiian.babiak" Date: Tue, 8 Jul 2025 15:03:51 -0400 Subject: [PATCH 2/2] Only permit API Key functionality for Teachers --- frontend/src/app/components/toolbar/toolbar.component.html | 4 ++-- frontend/src/app/components/toolbar/toolbar.component.ts | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/frontend/src/app/components/toolbar/toolbar.component.html b/frontend/src/app/components/toolbar/toolbar.component.html index e9402b11..378b26a9 100644 --- a/frontend/src/app/components/toolbar/toolbar.component.html +++ b/frontend/src/app/components/toolbar/toolbar.component.html @@ -19,7 +19,7 @@

{{ user.username }}