[V0.4] Added TODOs
This commit is contained in:
@@ -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' },
|
||||
}
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user