diff --git a/src/middlewares/authentication.ts b/src/middlewares/authentication.ts index 4b2b5f2..83abf9d 100644 --- a/src/middlewares/authentication.ts +++ b/src/middlewares/authentication.ts @@ -44,7 +44,7 @@ export class LoggerMiddleware implements NestMiddleware { havePermission = true; } }); - havePermission = true; + if (havePermission) { request.body.info = { customer_id: clienId,