mirror of
https://github.com/hexastack/hexabot
synced 2025-05-05 05:15:02 +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,
|
||||
await mongoose
|
||||
.model(NlpEntityModel.name, NlpEntityModel.schema)
|
||||
.findById(entity),
|
||||
.findById(entity)
|
||||
.lean(),
|
||||
{
|
||||
excludePrefixes: ['_'],
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user