Commit 72827cdf authored by Diego Iván's avatar Diego Iván
Browse files

agregando pointOfInterest

parent 4e405463
Loading
Loading
Loading
Loading
+6 −4
Original line number Diff line number Diff line
@@ -12,12 +12,13 @@ import { JwtService } from '@nestjs/jwt';
import { EncryptionService } from 'src/auth/encryption/encryption.service';
import { TownService } from 'src/town/town.service';
import { TownTraduction } from 'src/town/entities/town-traduction.entity';
import { ActivityService } from 'src/activity/activity.service';
import { PointOfInterestService } from 'src/pointOfInterest/PointOfInterest.service';
import { PlaceService } from 'src/place/place.service';
import { Place } from 'src/place/entities/place.entity';
import { Activity } from 'src/activity/entities/activity.entity';
import { PointOfInterest } from 'src/pointOfInterest/entities/PointOfInterest.entity';
import { AvailableDate } from 'src/place/entities/available-date.entity';
import { PlaceTraduction } from 'src/place/entities/place-traduction.entity';
import { PointOfInterestTraduction } from 'src/pointOfInterest/entities/PointOfInterestTraduction.entity';

@Module({
  providers: [
@@ -28,7 +29,7 @@ import { PlaceTraduction } from 'src/place/entities/place-traduction.entity';
    JwtService,
    EncryptionService,
    TownService,
    ActivityService,
    PointOfInterestService,
    PlaceService,
  ],
  imports: [
@@ -39,9 +40,10 @@ import { PlaceTraduction } from 'src/place/entities/place-traduction.entity';
      Town,
      TownTraduction,
      Place,
      Activity,
      PointOfInterest,
      AvailableDate,
      PlaceTraduction,
      PointOfInterestTraduction,
    ]),
  ],
})
+2 −2
Original line number Diff line number Diff line
@@ -10,7 +10,7 @@ import { UserStatus } from 'src/shared/enum/user-status.enum';
import { AuthAdminService } from 'src/auth/admin/authAdminservice';
import { TownService } from 'src/town/town.service';
import { CreateTownDto } from 'src/town/dto/create-town.dto';
import { ActivityService } from 'src/activity/activity.service';
import { PointOfInterestService } from 'src/pointOfInterest/PointOfInterest.service';
import { PlaceService } from 'src/place/place.service';

@Injectable()
@@ -20,7 +20,7 @@ export class DatabaseSeederService implements OnModuleInit {
    private readonly stateService: StateService,
    private readonly authAdminService: AuthAdminService,
    private readonly townService: TownService,
    private readonly activityService: ActivityService,
    private readonly activityService: PointOfInterestService,
    private readonly placeService: PlaceService,
  ) {}