mirror of
https://github.com/cheveguerra/bot-whatsapp.git
synced 2026-04-21 04:59:15 +00:00
Update diaglogflow.js
This commit is contained in:
@@ -56,7 +56,7 @@ const detectIntent = async (queryText) => {
|
|||||||
const { fields } = parsePayload.payload
|
const { fields } = parsePayload.payload
|
||||||
media = fields.media.stringValue || null
|
media = fields.media.stringValue || null
|
||||||
}
|
}
|
||||||
const customPayload = parsePayload['payload']
|
const customPayload = parsePayload ? parsePayload['payload'] : null
|
||||||
|
|
||||||
const parseData = {
|
const parseData = {
|
||||||
replyMessage: queryResult.fulfillmentText,
|
replyMessage: queryResult.fulfillmentText,
|
||||||
|
|||||||
Reference in New Issue
Block a user