bluzi / bluzi/google-tasks-api

Cannot read properties of undefined (reading 'tasklists')

Open
#9 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
56
Forks
2
PR merge metrics
No merged PRs in 30d

Description

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
```js
await googleTasksApi.authorize(clientID).then(
console.log(googleTasksApi.listTaskLists()))
```

The .authorize works totally fine.

Thank you in advance

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.