diff --git a/package-lock.json b/package-lock.json index 2eefef3..d37c93b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "backend-8tech", - "version": "4.1.2", + "version": "4.1.3", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "backend-8tech", - "version": "4.1.2", + "version": "4.1.3", "license": "UNLICENSED", "dependencies": { "@nestjs/common": "^9.4.3", diff --git a/package.json b/package.json index 57cf31a..ff19440 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "backend-8tech", - "version": "4.1.2", + "version": "4.1.3", "description": "", "author": "8tech", "private": true, diff --git a/src/auth/jwt/jwt.strategy.ts b/src/auth/jwt/jwt.strategy.ts index 7c04154..4dc6d3f 100644 --- a/src/auth/jwt/jwt.strategy.ts +++ b/src/auth/jwt/jwt.strategy.ts @@ -29,6 +29,7 @@ export class JwtStrategy extends PassportStrategy(Strategy) { id: payload.user.id, username: payload.user.username, roles: payload.user.roles, + companyId: payload.user.companyId, }; } }