clean sidebar 4
This commit is contained in:
parent
e5dbd1c67c
commit
9ec5c18d43
@ -31,7 +31,6 @@ export default withAuth(
|
||||
|
||||
// For protected API endpoints, check if the request has a valid session
|
||||
if (!token) {
|
||||
// Return 401 for API routes instead of redirecting
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user