Skip to content

Commit

Permalink
Fixing build
Browse files Browse the repository at this point in the history
  • Loading branch information
krishnan-aot committed Aug 22, 2024
1 parent ef532e7 commit 800bbfd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions dops/src/modules/auth/jwt.strategy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export class JwtStrategy extends PassportStrategy(Strategy) {
const access_token = req.headers.authorization;
let userGUID: string,
userName: string,
roles: Claim[],
claims: Claim[],
associatedCompanies: number[],
orbcUserFirstName: string,
orbcUserLastName: string,
Expand Down Expand Up @@ -78,7 +78,7 @@ export class JwtStrategy extends PassportStrategy(Strategy) {

if (req.headers.AuthOnly === 'false') {
({
roles,
claims,
companyId,
associatedCompanies,
orbcUserFirstName,
Expand All @@ -97,7 +97,7 @@ export class JwtStrategy extends PassportStrategy(Strategy) {
const currentUser = {
userName,
userGUID,
roles,
claims,
companyId,
associatedCompanies,
access_token,
Expand Down

0 comments on commit 800bbfd

Please sign in to comment.