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

Documentation error #25

Open
Will-Nocturnal opened this issue Oct 26, 2021 · 0 comments
Open

Documentation error #25

Will-Nocturnal opened this issue Oct 26, 2021 · 0 comments

Comments

@Will-Nocturnal
Copy link

Will-Nocturnal commented Oct 26, 2021

Documentation states function call to get task lists should be tw.tasklists.get(query, id), however, the call is actually tw.tasklist.get(query,id).
This should either be fixed by changing line 40 in index.js to tasklists : require("./task-list"); or by updating the documentation.

I would suggest chaning the code to tasklists as this falls in line with the naming convention used by teamwork's endpoints. However, this may break any builds that are currently in production.
I am happy to patch this and submit a pull request for either fix if you like.

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