diff --git a/web/src/components/ChatBox.vue b/web/src/components/ChatBox.vue index c64f8bcc..c3440be1 100644 --- a/web/src/components/ChatBox.vue +++ b/web/src/components/ChatBox.vue @@ -853,7 +853,7 @@ export default { // send new data try { axios.post('/set_function_call_settings', - {client_id:this.$store.state.client_id,category:func.category,name:func.name, "settings":res}, {headers: this.posts_headers}).then(response => { + {client_id:this.$store.state.client_id,category:category,name:func.name, "settings":res}, {headers: this.posts_headers}).then(response => { if (response && response.data) { console.log('function call set with new settings', response.data) this.$store.state.toast.showToast("function call settings updated successfully!", 4, true)