You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
Documentation states function call to get task lists should be
tw.tasklists.get(query, id)
, however, the call is actuallytw.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.
The text was updated successfully, but these errors were encountered: