We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Tasks.Tasklists
1 parent 38937bb commit 27d454dCopy full SHA for 27d454d
1 file changed
tasks/quickstart/quickstart.gs
@@ -24,7 +24,7 @@ function listTaskLists() {
24
maxResults: 10,
25
};
26
27
- if (!Tasks) {
+ if (!Tasks || !Tasks.Tasklists) {
28
throw new Error('Enable the Tasks Advanced Service.');
29
}
30
// Returns all the authenticated user's task lists.
0 commit comments