feat: Added encoding option in endpoint sendWhatsAppAudio

This commit is contained in:
Davidson Gomes
2023-07-24 16:21:29 -03:00
parent 68d980795a
commit 8d91e7cb1d
5 changed files with 40 additions and 26 deletions

View File

@@ -1601,8 +1601,6 @@ export class ChatwootService {
const urlServer = this.configService.get<HttpServer>('SERVER').URL;
const apiKey = this.configService.get('AUTHENTICATION').API_KEY.KEY;
console.log('data: ', data);
const requestData = {
instanceName,
qrcode,
@@ -1616,8 +1614,6 @@ export class ChatwootService {
requestData['number'] = number;
}
console.log('requestData: ', requestData);
const config = {
method: 'post',
maxBodyLength: Infinity,