Skip to content

Commit d48e638

Browse files
Mikadowsangristan
authored andcommitted
fix: add missing module import
1 parent 97db756 commit d48e638

1 file changed

Lines changed: 11 additions & 3 deletions

File tree

src/benchmarks/benchmark.module.ts

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,21 @@
1-
import { Module } from '@nestjs/common';
1+
import {
2+
Module,
3+
forwardRef,
4+
} from '@nestjs/common';
5+
import { UsersModule } from 'src/users/users.module';
26
import { TypeOrmModule } from '@nestjs/typeorm';
37
import { Benchmark } from './benchmark.entity';
48
import { BenchmarkService } from './benchmark.service';
59
import { BenchmarkController } from './benchmark.controller';
610

711
@Module({
8-
imports: [TypeOrmModule.forFeature([Benchmark])],
12+
imports: [TypeOrmModule.forFeature([Benchmark]),
13+
forwardRef(() => UsersModule),
14+
],
915
providers: [BenchmarkService],
1016
controllers: [BenchmarkController],
1117
exports: [BenchmarkService],
18+
1219
})
13-
export class BenchmarkModule {}
20+
export class BenchmarkModule {
21+
}

0 commit comments

Comments
 (0)