[V0.4] Added TODOs

This commit is contained in:
c-d-p
2025-04-21 23:47:38 +02:00
parent 5df6ae35cc
commit c0a58b45f4
26 changed files with 589 additions and 17 deletions

View File

@@ -108,11 +108,9 @@ apiClient.interceptors.response.use(
}
console.log('[API Client] Attempting token refresh...');
// Send refresh token in the body, remove withCredentials
const refreshResponse = await apiClient.post('/auth/refresh',
{ refresh_token: storedRefreshToken }, // Send token in body
{
// No withCredentials needed
headers: { 'Content-Type': 'application/json' },
}
);