NestJS - Middleware
You have this middleware setup:
But you want
apply(loggingMiddleware, authMiddleware).forRoutes('admin')But you want
authMiddleware to execute before loggingMiddleware. What is the correct fix?