Commit 88119fba336a55bc6df902110f12c525581434ec
1 parent
ae76761a86
Exists in
master
perbaikan direct reply
Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff
index.js
... | ... | @@ -146,8 +146,8 @@ function forwardMessageToEvo(sender, message, ts) { |
146 | 146 | return; |
147 | 147 | } |
148 | 148 | logger.info('Evo response in xml format', {response: parsedResponse}); |
149 | - if (parsedResponse.text) { | |
150 | - sendMessage(sender, parsedResponse.text[0].trim()); | |
149 | + if (parsedResponse.response.text) { | |
150 | + sendMessage(sender, parsedResponse.response.text[0].trim()); | |
151 | 151 | } |
152 | 152 | }); |
153 | 153 |