fix: fixed bug of creating new inbox by chatwoot

This commit is contained in:
Davidson Gomes
2023-07-26 17:15:09 -03:00
parent 78689a23e5
commit 85ca0683ed
2 changed files with 7 additions and 1 deletions

View File

@@ -998,6 +998,8 @@ export class ChatwootService {
chatwoot_token: this.provider.token,
chatwoot_url: this.provider.url,
chatwoot_sign_msg: this.provider.sign_msg,
chatwoot_reopen_conversation: this.provider.reopen_conversation,
chatwoot_conversation_pending: this.provider.conversation_pending,
};
if (command.split(':')[2]) {
@@ -1530,7 +1532,7 @@ export class ChatwootService {
}
// eslint-disable-next-line
const config = {
const config = {
method: 'post',
maxBodyLength: Infinity,
url: `${urlServer}/instance/create`,