Skip to content

Commit

Permalink
Fix: Specified fields in getTeamDrives()`
Browse files Browse the repository at this point in the history
  • Loading branch information
itszechs committed Jun 24, 2022
1 parent 3a271fe commit e95cfeb
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ class FilesViewModel @Inject constructor(
val teamDrives = drive
.teamdrives()
.list()
.setFields("nextPageToken, drives(id, name, kind)")
.setPageSize(pageSize)
.setPageToken(nextPageToken)
.execute()
Expand Down

0 comments on commit e95cfeb

Please sign in to comment.