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

Cannot read properties of undefined (reading 'tasklists') #9

Open
Sam-B-Y opened this issue Feb 6, 2022 · 0 comments
Open

Cannot read properties of undefined (reading 'tasklists') #9

Sam-B-Y opened this issue Feb 6, 2022 · 0 comments

Comments

@Sam-B-Y
Copy link

Sam-B-Y commented Feb 6, 2022

Hey, I got a little problem:
When I try to log the lists of my list of tasks, an error comes up
[[PromiseResult]]: TypeError: Cannot read properties of undefined (reading 'tasklists') at Object.listTaskLists (https://cdn.jsdelivr.net/npm/google-tasks-api@latest/dist/index.min.js:84:56)

My code is

await googleTasksApi.authorize(clientID).then(
  console.log(googleTasksApi.listTaskLists()))

The .authorize works totally fine.

Thank you in advance

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