From 43c58063014f36c2eda90b70ce60fbc44b4212fd Mon Sep 17 00:00:00 2001 From: Clinton Brito Date: Tue, 20 Aug 2024 17:56:13 -0300 Subject: [PATCH] wip: trying to make the route public --- src/routes/user/user-routes.module.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/user/user-routes.module.ts b/src/routes/user/user-routes.module.ts index ba3b5f85..07394b2a 100644 --- a/src/routes/user/user-routes.module.ts +++ b/src/routes/user/user-routes.module.ts @@ -10,7 +10,7 @@ import { UserRoutes } from './user-routes' export class UserRoutesModule implements NestModule { configure (consumer: MiddlewareConsumer): void { consumer - .apply(AuthNestMiddleware) + .apply() .forRoutes({ path: '/user/signup/email', method: RequestMethod.POST }) .apply(AuthNestMiddleware) .forRoutes({ path: '/user', method: RequestMethod.POST })