Skip to content

Commit 9c06255

Browse files
authored
Merge pull request #19 from itszechs/patch_shared_drive_pagination
Fix: field name not same as the documentation
2 parents 27ef844 + 8b74335 commit 9c06255

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/java/zechs/drive/stream/ui/files/FilesViewModel.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ class FilesViewModel @Inject constructor(
151151
val teamDrives = drive
152152
.teamdrives()
153153
.list()
154-
.setFields("nextPageToken, drives(id, name, kind)")
154+
.setFields("nextPageToken, teamDrives(id, name, kind)")
155155
.setPageSize(pageSize)
156156
.setPageToken(nextPageToken)
157157
.execute()

0 commit comments

Comments
 (0)