Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Optional Parameter in addQuestion() requires a blank object to be passed to it #456

Closed
shrutikk opened this issue Oct 21, 2016 · 2 comments · Fixed by #466
Closed

Optional Parameter in addQuestion() requires a blank object to be passed to it #456

shrutikk opened this issue Oct 21, 2016 · 2 comments · Fixed by #466

Comments

@shrutikk
Copy link

The addQuestion() method in conversations has an optional third parameter for capture_options and a required 4th parameter for thread_name. But it is required that a blank object is passed as the thirs parameter even if we dont want any capture_options or otherwise it takes the 4th parameter as the third and gives weird functionality.

@peterswimm
Copy link
Contributor

What is your suggestion for this issue? Documentation update or a feature enhancement?

@shrutikk
Copy link
Author

The document does need to be updated because it gets very confusing as to why the functioning is not as expected. The documentation should state that if no capture options are needed pass in an empty object.

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 a pull request may close this issue.

2 participants