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
+1 -1
View File
@@ -158,7 +158,7 @@ const RequireAuth = ({ children }: RequireAuthProps) => {
const { data: userResponse, isLoading: isLoadingUserResponse } = const { data: userResponse, isLoading: isLoadingUserResponse } =
useSWRImmutable<GetMeResponse & { ok?: boolean }, unknown, SWRHttpKey>( useSWRImmutable<GetMeResponse & { ok?: boolean }, unknown, SWRHttpKey>(
'/auth/get-me', '/auth/sso/userinfo',
httpClientFetcher, httpClientFetcher,
{ {
shouldRetryOnError: false, shouldRetryOnError: false,