This is an automated email from the ASF dual-hosted git repository. lahirujayathilake pushed a commit to branch auth-endpoints-web in repository https://gitbox.apache.org/repos/asf/airavata-custos.git
commit f6e23a9a3b4e630d09a6599799cfdfcec73fb559 Author: lahiruj <[email protected]> AuthorDate: Wed Jun 17 00:35:24 2026 -0400 Remove unused userId from session type --- web/src/shared/auth/session.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/web/src/shared/auth/session.ts b/web/src/shared/auth/session.ts index 8b91db239..fbadd50e6 100644 --- a/web/src/shared/auth/session.ts +++ b/web/src/shared/auth/session.ts @@ -1,13 +1,12 @@ import "server-only"; import { auth } from "./auth"; -export type PortalSession = { accessToken?: string | null; userId?: string | null } | null; +export type PortalSession = { accessToken?: string | null } | null; export async function getPortalSession(): Promise<PortalSession> { const session = await auth(); if (!session) return null; return { accessToken: session.accessToken ?? null, - userId: session.user?.id ?? null, }; }
