fix(auth): update comments in AuthCallback and API client for clarity on token handling and refresh process
This commit is contained in:
@@ -99,7 +99,7 @@ async function apiRequest<T>(
|
||||
isRefreshing = true
|
||||
|
||||
try {
|
||||
// * Call our internal Next.js API route to handle refresh securely
|
||||
// * Call our Next.js API route to handle refresh securely
|
||||
const refreshRes = await fetch('/api/auth/refresh', {
|
||||
method: 'POST',
|
||||
headers: { 'Content-Type': 'application/json' },
|
||||
|
||||
Reference in New Issue
Block a user