|
@@ -4,7 +4,7 @@ import { Inject, Injectable, Logger, UnauthorizedException } from '@nestjs/commo
|
|
|
import jwtconfig from './jwt.config'
|
|
import jwtconfig from './jwt.config'
|
|
|
import { ConfigType } from '@nestjs/config'
|
|
import { ConfigType } from '@nestjs/config'
|
|
|
import { UsersService } from 'src/users/users.service'
|
|
import { UsersService } from 'src/users/users.service'
|
|
|
-import { Role } from 'src/model/role.enum'
|
|
|
|
|
|
|
+import { Role } from '../model/role.enum'
|
|
|
|
|
|
|
|
@Injectable()
|
|
@Injectable()
|
|
|
export class JwtStrategy extends PassportStrategy(Strategy) {
|
|
export class JwtStrategy extends PassportStrategy(Strategy) {
|