diff --git a/ServicesWeb/customer/src/app/api/context/page/menu/route.ts b/ServicesWeb/customer/src/app/api/context/page/menu/route.ts index 93448a5..f2f59c1 100644 --- a/ServicesWeb/customer/src/app/api/context/page/menu/route.ts +++ b/ServicesWeb/customer/src/app/api/context/page/menu/route.ts @@ -8,7 +8,6 @@ import { NextResponse } from "next/server"; export async function GET() { try { const menu = await getMenuFromRedis(); - console.log("menu", menu); return NextResponse.json({ status: 200, data: menu, diff --git a/ServicesWeb/customer/src/app/api/login/email/route.ts b/ServicesWeb/customer/src/app/api/login/email/route.ts index ae899be..2133fa6 100644 --- a/ServicesWeb/customer/src/app/api/login/email/route.ts +++ b/ServicesWeb/customer/src/app/api/login/email/route.ts @@ -22,7 +22,6 @@ export async function POST(req: Request): Promise { }); } const userLogin = await loginViaAccessKeys(dataValidated); - console.log("userLogin", userLogin); if (userLogin.status === 200 || userLogin.status === 202) { await initFirstSelection( userLogin.data?.firstSelection, diff --git a/ServicesWeb/customer/src/components/mutual/context/menu/context.ts b/ServicesWeb/customer/src/components/mutual/context/menu/context.ts index 965bd51..e81daad 100644 --- a/ServicesWeb/customer/src/components/mutual/context/menu/context.ts +++ b/ServicesWeb/customer/src/components/mutual/context/menu/context.ts @@ -54,9 +54,6 @@ interface UseMenuResult { export function useMenu(): UseMenuResult { const { data, availableItems, isLoading, error, refresh, update } = useContextMenu(); - console.log("data", data); - console.log("availableItems", availableItems); - return { menuData: data, availableApplications: availableItems, diff --git a/ServicesWeb/customer/src/components/mutual/context/user/context.ts b/ServicesWeb/customer/src/components/mutual/context/user/context.ts index 1582dff..264d8f4 100644 --- a/ServicesWeb/customer/src/components/mutual/context/user/context.ts +++ b/ServicesWeb/customer/src/components/mutual/context/user/context.ts @@ -39,11 +39,6 @@ async function checkContextDashUserInfo(): Promise { // First try to use the server-side implementation try { const serverData = await getUserFromServer(); - console.log( - "User data from server:", - JSON.stringify(serverData, null, 2) - ); - // If we got valid data from the server, return it if (serverData && serverData.uuid) { // Check if we have a real user (not the default) diff --git a/ServicesWeb/customer/src/fetchers/custom/context/dash/selection/fetch.tsx b/ServicesWeb/customer/src/fetchers/custom/context/dash/selection/fetch.tsx index bf024e0..9194d11 100644 --- a/ServicesWeb/customer/src/fetchers/custom/context/dash/selection/fetch.tsx +++ b/ServicesWeb/customer/src/fetchers/custom/context/dash/selection/fetch.tsx @@ -44,10 +44,8 @@ const setActiveSelectionToRedis = async (selectionObject: any) => { } }) if (oldData.online.userType.toUpperCase() === "EMPLOYEE") { - console.log("selectionObject", selectionObject) await loginSelectEmployee({ uuid: selectionObject.uu_id }); } else if (oldData.online.userType.toUpperCase() === "OCCUPANT") { - console.log("selectionObject", selectionObject.build_living_space_uu_id) await loginSelectOccupant({ uuid: selectionObject.build_living_space_uu_id }); } return true; diff --git a/ServicesWeb/customer/src/fetchers/custom/login/login.tsx b/ServicesWeb/customer/src/fetchers/custom/login/login.tsx index e656d95..c5409e0 100644 --- a/ServicesWeb/customer/src/fetchers/custom/login/login.tsx +++ b/ServicesWeb/customer/src/fetchers/custom/login/login.tsx @@ -60,7 +60,6 @@ async function initRedis(loginRespone: any, firstSelection: any, accessToken: st async function initFirstSelection(firstSelection: any, userType: string) { if (userType === "EMPLOYEE") { const uuid = firstSelection.uu_id; - console.log("uuid", uuid) await loginSelectEmployee({ uuid }); } else if (userType === "OCCUPANT") { const uuid = firstSelection.build_living_space_uu_id;