chore(FE-113): change api route for getting user info to /auth/sso/userinfo

This commit is contained in:
ValdiANS
2025-10-21 15:06:10 +07:00
parent 1a76913f3f
commit 5af9c3ee27
+2 -2
View File
@@ -158,7 +158,7 @@ const RequireAuth = ({ children }: RequireAuthProps) => {
const { data: userResponse, isLoading: isLoadingUserResponse } =
useSWRImmutable<GetMeResponse & { ok?: boolean }, unknown, SWRHttpKey>(
'/auth/get-me',
'/auth/sso/userinfo',
httpClientFetcher,
{
shouldRetryOnError: false,
@@ -194,4 +194,4 @@ const RequireAuth = ({ children }: RequireAuthProps) => {
return <>{children}</>;
};
export default RequireAuth;
export default RequireAuth;