Skip to content

Commit

Permalink
Merge branch 'master' into features/quote-exclude-voice-prod1
Browse files Browse the repository at this point in the history
  • Loading branch information
Giovanni Troisi committed Sep 18, 2024
2 parents 2aff152 + e389836 commit 1194e83
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions routes/project.js
Original file line number Diff line number Diff line change
Expand Up @@ -430,6 +430,10 @@ router.put('/:projectid', [passport.authenticate(['basic', 'jwt'], { session: fa
if (req.body["settings.current_agent_my_chats_only"]!=undefined) {
update["settings.current_agent_my_chats_only"] = req.body["settings.current_agent_my_chats_only"];
}

if (req.body["settings.chatbots_attributes_hidden"]!=undefined) {
update["settings.chatbots_attributes_hidden"] = req.body["settings.chatbots_attributes_hidden"];
}

if (req.body.widget!=undefined) {
update.widget = req.body.widget;
Expand Down

0 comments on commit 1194e83

Please sign in to comment.