actions-on-google-nodejs icon indicating copy to clipboard operation
actions-on-google-nodejs copied to clipboard

conv.contexts.get is case sensitive

Open tomhalley opened this issue 5 years ago • 1 comments

As the title suggests, a value of "my_context" passed to conv.contexts.get will match a context defined in DialogFlow as "MY_CONTEXT", but if I pass it "MY_CONTEXT", the getter returns undefined. DialogFlow context names aren't case sensitive, so this creates some confusion

tomhalley avatar Aug 22 '19 08:08 tomhalley

In JSON and Javascript, keys and variables are case-sensitive.

Fleker avatar Aug 28 '19 19:08 Fleker