Update ChatBox.vue

This commit is contained in:
Saifeddine ALOUI 2025-03-10 12:22:31 +01:00 committed by GitHub
parent 2ba89a158c
commit 3b1a3e7a2e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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)