Skip to content

Commit

Permalink
Merge pull request #19 from itszechs/patch_shared_drive_pagination
Browse files Browse the repository at this point in the history
Fix: field name not same as the documentation
  • Loading branch information
itszechs authored Jun 24, 2022
2 parents 27ef844 + 8b74335 commit 9c06255
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ class FilesViewModel @Inject constructor(
val teamDrives = drive
.teamdrives()
.list()
.setFields("nextPageToken, drives(id, name, kind)")
.setFields("nextPageToken, teamDrives(id, name, kind)")
.setPageSize(pageSize)
.setPageToken(nextPageToken)
.execute()
Expand Down

0 comments on commit 9c06255

Please sign in to comment.