diff --git a/src/features/auth/api/profileApi.ts b/src/features/auth/api/profileApi.ts index 24a86ef..fc947dc 100644 --- a/src/features/auth/api/profileApi.ts +++ b/src/features/auth/api/profileApi.ts @@ -7,7 +7,7 @@ export async function getMe(): Promise { const csrf = await getCsrfToken() const bearer = tokenStore.get() - const res = await fetch(`${USERS_API_URL}/me`, { + const res = await fetch(`${USERS_API_URL}/me/`, { credentials: 'include', headers: { 'X-CSRF-Token': csrf,