AnotherWrapper · update
Centralized Authentication Middleware
Created a new
authMiddlewareto centralize authentication logic, reducing code duplication across API routes.Applied the middleware to all API routes, ensuring consistent and secure authentication handling.
Streamlined the codebase for improved maintainability and scalability.
This update simplifies authentication management while enhancing security across the app.