From 8b74335f03b663c6ba35d8700f1421006f437ad2 Mon Sep 17 00:00:00 2001 From: zechs Date: Fri, 24 Jun 2022 11:25:22 +0530 Subject: [PATCH] Fix: field name not same as the documentation --- app/src/main/java/zechs/drive/stream/ui/files/FilesViewModel.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/zechs/drive/stream/ui/files/FilesViewModel.kt b/app/src/main/java/zechs/drive/stream/ui/files/FilesViewModel.kt index 87a9a4f..16a8601 100755 --- a/app/src/main/java/zechs/drive/stream/ui/files/FilesViewModel.kt +++ b/app/src/main/java/zechs/drive/stream/ui/files/FilesViewModel.kt @@ -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()