Loading backend/src/town/town.module.ts +2 −1 Original line number Diff line number Diff line Loading @@ -5,10 +5,11 @@ import { TypeOrmModule } from '@nestjs/typeorm'; import { Town } from './entities/town.entity'; import { StateService } from 'src/state/state.service'; import { State } from 'src/state/entities/state.entity'; import { TownTraduction } from './entities/town-traduction.entity'; @Module({ controllers: [TownController], providers: [TownService, StateService], imports: [TypeOrmModule.forFeature([Town, State])], imports: [TypeOrmModule.forFeature([Town, State, TownTraduction])], }) export class TownModule {} Loading
backend/src/town/town.module.ts +2 −1 Original line number Diff line number Diff line Loading @@ -5,10 +5,11 @@ import { TypeOrmModule } from '@nestjs/typeorm'; import { Town } from './entities/town.entity'; import { StateService } from 'src/state/state.service'; import { State } from 'src/state/entities/state.entity'; import { TownTraduction } from './entities/town-traduction.entity'; @Module({ controllers: [TownController], providers: [TownService, StateService], imports: [TypeOrmModule.forFeature([Town, State])], imports: [TypeOrmModule.forFeature([Town, State, TownTraduction])], }) export class TownModule {}