new(whatsapp.gblib): General Bots WhatsApp provider.
This commit is contained in:
parent
aaebc1c81d
commit
845b9578b9
1 changed files with 1 additions and 1 deletions
|
@ -295,7 +295,7 @@ export class GBConversationalService {
|
||||||
try {
|
try {
|
||||||
const results = await request(options);
|
const results = await request(options);
|
||||||
|
|
||||||
return results[0].translations[0].text;
|
return results;
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
const msg = `Error calling SMS service. Error is: ${error}.`;
|
const msg = `Error calling SMS service. Error is: ${error}.`;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue