Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

This Example Doesn't Work As-Is #9

Open
mikepuglisi opened this issue Jan 25, 2019 · 0 comments
Open

This Example Doesn't Work As-Is #9

mikepuglisi opened this issue Jan 25, 2019 · 0 comments

Comments

@mikepuglisi
Copy link

mikepuglisi commented Jan 25, 2019

One example of a bug in this branch is

Line 242 in

https://github.com/TwilioDevEd/task-router-node/blob/master/lib/workspace.js

// INCORRECT

EVENT_CALLBACKUrl: EVENT_CALLBACK,

// CORRECT

eventCallbackUrl: EVENT_CALLBACK,

This bug prevents a callback URL from being added to the workspace, which results in the majority of the intended functionality not working.

I'm running into other issues as well, but I have one question I'm hoping someone can answer..

What line of code and/or setting in this example results in the task not staying in a "wrapping" Assignment Status? I'm trying to apply this example to my own code, but my code results tasks being left with an Assignment Status of "wrapping" indefinitely until I go into the twilio interface and remove it manually. This "task-router-node" branch clears the task automatically somehow, but I can't figure out how that happens.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant