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

@ -1,3 +1,7 @@
# 1.4.6 (homolog)
* Fixed bug of creating new inbox by chatwoot
# 1.4.5 (2023-07-26 09:32) # 1.4.5 (2023-07-26 09:32)
### Fixed ### Fixed

View File

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