message: fix: added jwtmodule to dashboard service
diff: @@ -3,9 +3,24 @@ import { DashboardService } from './service/dashboard.service';
  import { DashboardController } from './controller/dashboard.controller';
  import { UserModule } from '../UserModule/user.module';
  import { CourseTakenModule } from '../CourseTakenModule/course.taken.module';
  +import { SecurityModule } from '../SecurityModule/security.module';
  +import { JwtModule } from '@nestjs/jwt';
  +import { ConfigService } from '@nestjs/config';
  @Module({
  - imports: [UserModule, CourseTakenModule],
  + imports: [
  + JwtModule.registerAsync({
  + useFactory: async (configService: ConfigService) => ({
  + secret: configService.get<string>('JWT_SECRET'),
  + signOptions: {
  + expiresIn: configService.get<number>('EXPIRES_IN_ACCESS_TOKEN'),
  + },
  + }),
  + inject: [ConfigService],
  + }),
  + UserModule,
  + CourseTakenModule,
  + ],
  controllers: [DashboardController],
  providers: [DashboardService],
  })
  