Skip to content

Commit

Permalink
Get files from every page
Browse files Browse the repository at this point in the history
  • Loading branch information
buddhhu authored Sep 21, 2023
1 parent 627a0b1 commit 934f883
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utilities/gdrive.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ async def list_files(self, query: str = None) -> list:
files = []
page_token = None
params = {
"fields": "files(id, name, mimeType, parents, webContentLink, webViewLink, size)",
"fields": "nextPageToken, files(id, name, mimeType, parents, webContentLink, webViewLink, size)",
"supportsAllDrives": "true",
"includeItemsFromAllDrives": "true",
}
Expand Down

0 comments on commit 934f883

Please sign in to comment.