mirror of
https://github.com/hexastack/hexabot
synced 2025-06-26 18:27:28 +00:00
fix(api): apply feedback
This commit is contained in:
parent
0576b60af2
commit
729298fb9d
@ -34,8 +34,6 @@ import {
|
||||
} from '../schemas/nlp-sample.schema';
|
||||
import { NlpValue } from '../schemas/nlp-value.schema';
|
||||
|
||||
import { NlpSampleEntityRepository } from './nlp-sample-entity.repository';
|
||||
|
||||
@Injectable()
|
||||
export class NlpSampleRepository extends BaseRepository<
|
||||
NlpSample,
|
||||
@ -47,7 +45,6 @@ export class NlpSampleRepository extends BaseRepository<
|
||||
@InjectModel(NlpSample.name) readonly model: Model<NlpSample>,
|
||||
@InjectModel(NlpSampleEntity.name)
|
||||
private readonly nlpSampleEntityModel: Model<NlpSampleEntity>,
|
||||
private readonly nlpSampleEntityRepository: NlpSampleEntityRepository,
|
||||
) {
|
||||
super(model, NlpSample, NLP_SAMPLE_POPULATE, NlpSampleFull);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user