@tiledesk/tiledesk-server 2.10.5 → 2.10.6
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +3 -0
- package/package.json +1 -1
- package/routes/faq_kb.js +1 -1
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
package/routes/faq_kb.js
CHANGED
@@ -566,7 +566,7 @@ router.get('/', roleChecker.hasRoleOrTypes('agent', ['bot','subscription']), fun
|
|
566
566
|
|
567
567
|
if (restricted_mode === true) {
|
568
568
|
// Returns only: _id, name, id_project, language
|
569
|
-
faq_kbs = faq_kbs.map(({ webhook_enabled,
|
569
|
+
faq_kbs = faq_kbs.map(({ webhook_enabled, intentsEngine, score, url, attributes, trained, certifiedTags, createdBy, createdAt, updatedAt, __v, ...keepAttrs }) => keepAttrs)
|
570
570
|
}
|
571
571
|
|
572
572
|
res.json(faq_kbs)
|