Commit 1c524788 authored by Diego Iván's avatar Diego Iván
Browse files

agregando provedores a visited.module

parent 8f753798
Loading
Loading
Loading
Loading
+13 −2
Original line number Diff line number Diff line
@@ -12,10 +12,21 @@ import { Category } from 'src/category/entities/category.entity';
import { AvailableDate } from 'src/place/entities/available-date.entity';
import { PlaceTraduction } from 'src/place/entities/place-traduction.entity';
import { Town } from 'src/town/entities/town.entity';
import { AuthUserService } from 'src/auth/user/authUserservice';
import { JwtService } from '@nestjs/jwt';
import { EncryptionService } from 'src/auth/encryption/encryption.service';

@Module({
  controllers: [VisitedController],
  providers: [VisitedService, UserService, PlaceService, CategoryService],
  imports: [TypeOrmModule.forFeature([User, Place, Visited, Category, AvailableDate, PlaceTraduction, Town])],
  providers: [
    VisitedService,
    UserService,
    PlaceService,
    CategoryService,
    AuthUserService,
    JwtService,
    EncryptionService,
  ],
  imports: [TypeOrmModule.forFeature([User, Place, Visited, Category, AvailableDate, PlaceTraduction, Town, Visited])],
})
export class VisitedModule {}