UPDATE: Added Nimbus Catalog routes

This commit is contained in:
rodrigo.zamboni
2022-04-19 15:56:29 -03:00
parent 93cdc3f030
commit e653aeea3c
5 changed files with 557 additions and 1 deletions
+2
View File
@@ -30,6 +30,7 @@ export class LoggerMiddleware implements NestMiddleware {
const permissions = jwtDecoded.user.permissions;
const clienId = jwtDecoded.user.customerId;
const customer = jwtDecoded.user.customer;
const userId = jwtDecoded.user.id;
await verifyToken(accessToken);
@@ -49,6 +50,7 @@ export class LoggerMiddleware implements NestMiddleware {
request.body.info = {
customer_id: clienId,
user_id: userId,
customer,
};
next();