Skip to content
This repository has been archived by the owner on Oct 23, 2023. It is now read-only.

Fixes for issues in payload, undefined intents and telephony #258

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

aybhalala
Copy link

The dialogflow's fulfillment request has a payload in a different format than what this library expects so it throws an error. This was fixed.
There was a syntactical error which was causing the webhook to throw an exception when an intent was not defined in fulfillment. This was fixed.
In telephony, the agent.end was not sending the correct JSON that dialogflow expects to end the call. This was fixed too.

aybhalala added 2 commits May 24, 2019 13:43
…ogflow.

The dialogflow's payload-response requires a platform string and it cannot be undefined,
so considering the convention used in rich-response, setting the
platform to unspecified if it has not been set. But also considering the
case where a platform can be set by passing in the platform key:value in
the payload. This fixes the error that is being thrown by
payload-response.js on line 60.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant