chat21-cloud-functions icon indicating copy to clipboard operation
chat21-cloud-functions copied to clipboard

Getting 400 when dashboard is looking for /proj_id/requests/support-group-id

Open m2jobe opened this issue 6 years ago • 1 comments

How are request being saved if this is commented out in functions/chat-support.api I am having issues getting requests to be saved in mongo which is preventing agents from replying to mesages

//Save to mongo

// if (functions.config().support.storetobackend && functions.config().support.storetobackend.enabled && functions.config().support.storetobackend.enabled=="true") {
//     console.log('support.storetobackend', 'enabled');

//     return chatSupportApi.createRequest(projectid, newRequest);
   
// }else {
//     console.log('support.storetobackend', 'disabled');
// }

m2jobe avatar Jan 28 '19 13:01 m2jobe

Now TileDesk communicates with Chat21 via WebHook. See here : http://docs.tiledesk.com/en/latest/#install-on-your-server

andrealeo83 avatar Feb 27 '19 14:02 andrealeo83