mirror of
https://github.com/hexastack/hexabot
synced 2025-05-05 21:34:41 +00:00
fix: update NlpEntity reponse to be plain
This commit is contained in:
parent
524f30576b
commit
a3b92da470
@ -221,7 +221,8 @@ export class NlpValueRepository extends BaseRepository<
|
|||||||
NlpEntity,
|
NlpEntity,
|
||||||
await mongoose
|
await mongoose
|
||||||
.model(NlpEntityModel.name, NlpEntityModel.schema)
|
.model(NlpEntityModel.name, NlpEntityModel.schema)
|
||||||
.findById(entity),
|
.findById(entity)
|
||||||
|
.lean(),
|
||||||
{
|
{
|
||||||
excludePrefixes: ['_'],
|
excludePrefixes: ['_'],
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user