@tiledesk/tiledesk-whatsapp-connector 1.0.14 → 1.0.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -603,7 +603,7 @@ const path = require('path');
|
|
|
603
603
|
}*/
|
|
604
604
|
|
|
605
605
|
var tiledeskMessage = {
|
|
606
|
-
text:
|
|
606
|
+
text: text,
|
|
607
607
|
senderFullname: from,
|
|
608
608
|
channel: { name: TiledeskWhatsappTranslator.CHANNEL_NAME },
|
|
609
609
|
type: "file",
|
|
@@ -717,7 +717,7 @@ const path = require('path');
|
|
|
717
717
|
return records.map(row => {
|
|
718
718
|
|
|
719
719
|
//const phone_number = row.phone_number.startsWith('+') ? row.phone_number : `+39${row.phone_number}`;
|
|
720
|
-
const receiver = { phone_number };
|
|
720
|
+
const receiver = { phone_number: row.phone_number };
|
|
721
721
|
|
|
722
722
|
let header_params = [];
|
|
723
723
|
let body_params = [];
|