Skip to content

Commit

Permalink
Fix bug which leads listing 1000+ files won't work
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeingBoy authored Dec 8, 2019
1 parent c6dfae0 commit ebae3d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion worker/googleDrive.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ class GoogleDrive {
do {
const resp = await getList(pageToken)
files.push(...resp.files)
pageToken = resp.pageToken
pageToken = resp.nextPageToken
} while (pageToken)
return { files }
}
Expand Down

0 comments on commit ebae3d2

Please sign in to comment.