diff --git a/services/api.ts b/services/api.ts index cc0ea73..355152c 100644 --- a/services/api.ts +++ b/services/api.ts @@ -404,7 +404,7 @@ class ApiService { } try { - const response = await fetch(`${WELLNUO_API_URL}/me/profile`, { + const response = await fetch(`${WELLNUO_API_URL}/auth/me`, { method: 'GET', headers: { 'Authorization': `Bearer ${token}`, @@ -449,7 +449,7 @@ class ApiService { } try { - const response = await fetch(`${WELLNUO_API_URL}/me/profile`, { + const response = await fetch(`${WELLNUO_API_URL}/auth/profile`, { method: 'PATCH', headers: { 'Authorization': `Bearer ${token}`,