diff --git a/lib/auth.ts b/lib/auth.ts index b411296..251d853 100644 --- a/lib/auth.ts +++ b/lib/auth.ts @@ -252,7 +252,7 @@ export const getUserProfile = async (): Promise => { throw new Error('No token available'); } - const response = await fetch(`${API_BASE_URL}/java-auth/profile`, { + const response = await fetch(`${API_BASE_URL}/auth/profile`, { method: 'GET', headers: { 'Accept': 'application/json',