mirror of
https://github.com/hexastack/hexabot
synced 2025-06-26 18:27:28 +00:00
fix: remove unused dep injection
This commit is contained in:
parent
629a07fef8
commit
5ba208c5e5
@ -24,7 +24,6 @@ import { PageQueryDto } from '@/utils/pagination/pagination-query.dto';
|
|||||||
import { TFilterQuery } from '@/utils/types/filter.types';
|
import { TFilterQuery } from '@/utils/types/filter.types';
|
||||||
|
|
||||||
import { TNlpSampleDto } from '../dto/nlp-sample.dto';
|
import { TNlpSampleDto } from '../dto/nlp-sample.dto';
|
||||||
import { NlpSampleEntity } from '../schemas/nlp-sample-entity.schema';
|
|
||||||
import {
|
import {
|
||||||
NLP_SAMPLE_POPULATE,
|
NLP_SAMPLE_POPULATE,
|
||||||
NlpSample,
|
NlpSample,
|
||||||
@ -45,8 +44,6 @@ export class NlpSampleRepository extends BaseRepository<
|
|||||||
> {
|
> {
|
||||||
constructor(
|
constructor(
|
||||||
@InjectModel(NlpSample.name) readonly model: Model<NlpSample>,
|
@InjectModel(NlpSample.name) readonly model: Model<NlpSample>,
|
||||||
@InjectModel(NlpSampleEntity.name)
|
|
||||||
readonly sampleEntityModel: Model<NlpSampleEntity>,
|
|
||||||
private readonly nlpSampleEntityRepository: NlpSampleEntityRepository,
|
private readonly nlpSampleEntityRepository: NlpSampleEntityRepository,
|
||||||
) {
|
) {
|
||||||
super(model, NlpSample, NLP_SAMPLE_POPULATE, NlpSampleFull);
|
super(model, NlpSample, NLP_SAMPLE_POPULATE, NlpSampleFull);
|
||||||
|
Loading…
Reference in New Issue
Block a user