Skip to content

Commit

Permalink
Fix: Resolved issue with Chatwoot not receiving messages sent by Typebot
Browse files Browse the repository at this point in the history
Modified: CHANGELOG.md, src/api/integrations/typebot/services/typebot.service.ts

This commit resolves an issue where Chatwoot was not receiving messages sent by Typebot. The necessary changes were made to the typebot service file and the changelog was updated accordingly.
  • Loading branch information
dgcode-tec committed Jul 17, 2024
1 parent 6188944 commit 19e9ff9
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 10 deletions.
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
# 2.0.0 (beta)
# 2.0.1-beta (beta)

### Fixed

* Resolved issue with Chatwoot not receiving messages sent by Typebot

# 2.0.0-beta (2024-07-14 17:00)

### Feature

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "evolution-api",
"version": "2.0.0-beta",
"version": "2.0.1-beta",
"description": "Rest api for communication with WhatsApp",
"main": "./dist/src/main.js",
"scripts": {
Expand Down
16 changes: 8 additions & 8 deletions src/api/integrations/typebot/services/typebot.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1090,7 +1090,7 @@ export class TypebotService {
delay: settings?.delayMessage || 1000,
text: formattedText,
},
true,
false,
);

sendTelemetry('/message/sendText');
Expand All @@ -1104,7 +1104,7 @@ export class TypebotService {
mediatype: 'image',
media: message.content.url,
},
true,
false,
);

sendTelemetry('/message/sendMedia');
Expand All @@ -1118,7 +1118,7 @@ export class TypebotService {
mediatype: 'video',
media: message.content.url,
},
true,
false,
);

sendTelemetry('/message/sendMedia');
Expand All @@ -1132,7 +1132,7 @@ export class TypebotService {
encoding: true,
audio: message.content.url,
},
true,
false,
);

sendTelemetry('/message/sendWhatsAppAudio');
Expand Down Expand Up @@ -1163,7 +1163,7 @@ export class TypebotService {
delay: settings?.delayMessage || 1000,
text: formattedText,
},
true,
false,
);

sendTelemetry('/message/sendText');
Expand Down Expand Up @@ -1597,7 +1597,7 @@ export class TypebotService {
delay: delayMessage || 1000,
text: unknownMessage,
},
true,
false,
);

sendTelemetry('/message/sendText');
Expand Down Expand Up @@ -1711,7 +1711,7 @@ export class TypebotService {
delay: delayMessage || 1000,
text: unknownMessage,
},
true,
false,
);

sendTelemetry('/message/sendText');
Expand Down Expand Up @@ -1792,7 +1792,7 @@ export class TypebotService {
delay: delayMessage || 1000,
text: unknownMessage,
},
true,
false,
);

sendTelemetry('/message/sendText');
Expand Down

0 comments on commit 19e9ff9

Please sign in to comment.