From b5bc2795c36d82f22b4bee02ed46117cff802713 Mon Sep 17 00:00:00 2001 From: Peyton-McKee Date: Tue, 21 Jan 2025 02:08:33 -0500 Subject: [PATCH] Remove Logs --- src/backend/src/controllers/statistics.controllers.ts | 1 - src/backend/src/services/statistics.services.ts | 2 -- .../src/pages/AdminToolsPage/TeamConfig/TeamTypeTable.tsx | 1 - src/frontend/src/pages/LoginPage/Login.tsx | 1 - 4 files changed, 5 deletions(-) diff --git a/src/backend/src/controllers/statistics.controllers.ts b/src/backend/src/controllers/statistics.controllers.ts index c68c5fece2..98ab799c1e 100644 --- a/src/backend/src/controllers/statistics.controllers.ts +++ b/src/backend/src/controllers/statistics.controllers.ts @@ -143,7 +143,6 @@ export default class StatisticsController { static async removeGraphFromGraphCollection(req: Request, res: Response, next: NextFunction) { try { const { graphCollectionId, graphId } = req.params; - console.log('test'); const message: { message: string } = await StatisticsService.removeGraphFromCollection( req.currentUser, graphCollectionId, diff --git a/src/backend/src/services/statistics.services.ts b/src/backend/src/services/statistics.services.ts index 1c073f53b2..e895ae4e9a 100644 --- a/src/backend/src/services/statistics.services.ts +++ b/src/backend/src/services/statistics.services.ts @@ -502,8 +502,6 @@ export default class StatisticsService { throw new DeletedException('Graph Collection', graphCollectionId); } - console.log('test'); - await prisma.graph.update({ where: { id: graphId }, data: { diff --git a/src/frontend/src/pages/AdminToolsPage/TeamConfig/TeamTypeTable.tsx b/src/frontend/src/pages/AdminToolsPage/TeamConfig/TeamTypeTable.tsx index d931667cb9..273b386ae8 100644 --- a/src/frontend/src/pages/AdminToolsPage/TeamConfig/TeamTypeTable.tsx +++ b/src/frontend/src/pages/AdminToolsPage/TeamConfig/TeamTypeTable.tsx @@ -81,7 +81,6 @@ const TeamTypeTable: React.FC = () => { }; const teamTypesTableRows = teamTypes.map((teamType) => { - console.log('teamType', teamType); return ( setEditingTeamType(teamType)} sx={{ cursor: 'pointer', border: '2px solid black' }}> diff --git a/src/frontend/src/pages/LoginPage/Login.tsx b/src/frontend/src/pages/LoginPage/Login.tsx index 677801bb90..e380fedd88 100644 --- a/src/frontend/src/pages/LoginPage/Login.tsx +++ b/src/frontend/src/pages/LoginPage/Login.tsx @@ -69,7 +69,6 @@ const Login = () => { }; const verifyLogin = async (response: CredentialResponse) => { - console.log(response); if (!response.credential) { throw new Error('Failed to get credentials'); }