diff --git a/src/components/helper/RequireAuth.tsx b/src/components/helper/RequireAuth.tsx index 1d9d86b4..dbd4b6bc 100644 --- a/src/components/helper/RequireAuth.tsx +++ b/src/components/helper/RequireAuth.tsx @@ -158,7 +158,7 @@ const RequireAuth = ({ children }: RequireAuthProps) => { const { data: userResponse, isLoading: isLoadingUserResponse } = useSWRImmutable( - '/auth/get-me', + '/auth/sso/userinfo', httpClientFetcher, { shouldRetryOnError: false, @@ -194,4 +194,4 @@ const RequireAuth = ({ children }: RequireAuthProps) => { return <>{children}; }; -export default RequireAuth; \ No newline at end of file +export default RequireAuth;