@tiledesk/tiledesk-server 2.8.6 → 2.8.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +3 -0
- package/package.json +1 -1
- package/routes/project.js +4 -0
package/CHANGELOG.md
CHANGED
@@ -5,6 +5,9 @@
|
|
5
5
|
🚀 IN PRODUCTION 🚀
|
6
6
|
(https://www.npmjs.com/package/@tiledesk/tiledesk-server/v/2.3.77)
|
7
7
|
|
8
|
+
# 2.8.7
|
9
|
+
- Update project update endpoint with agent chats only function
|
10
|
+
|
8
11
|
# 2.8.6
|
9
12
|
- Bug fix: token count was incremented in action preview and kb preview even with a private key in integration
|
10
13
|
|
package/package.json
CHANGED
package/routes/project.js
CHANGED
@@ -419,6 +419,10 @@ router.put('/:projectid', [passport.authenticate(['basic', 'jwt'], { session: fa
|
|
419
419
|
if (req.body["settings.automatic_idle_chats"]!=undefined) {
|
420
420
|
update["settings.automatic_idle_chats"] = req.body["settings.automatic_idle_chats"];
|
421
421
|
}
|
422
|
+
|
423
|
+
if (req.body["settings.current_agent_my_chats_only"]!=undefined) {
|
424
|
+
update["settings.current_agent_my_chats_only"] = req.body["settings.current_agent_my_chats_only"];
|
425
|
+
}
|
422
426
|
|
423
427
|
if (req.body.widget!=undefined) {
|
424
428
|
update.widget = req.body.widget;
|