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