aboutsummaryrefslogtreecommitdiffstats
path: root/drive/sync_list.go
diff options
context:
space:
mode:
authorPetter Rasmussen2016-02-21 14:46:27 +0100
committerPetter Rasmussen2016-02-21 15:06:08 +0100
commit4b95496643d36184ffa1a7b78ae2d1150ecdf0b6 (patch)
tree03a328734b4b63fbef6f904c23a4e514ec3afdfc /drive/sync_list.go
parent428da4bcfedb3d3a2441d1d236f861e72ee8f5c6 (diff)
downloadgdrive-4b95496643d36184ffa1a7b78ae2d1150ecdf0b6.tar.bz2
Add sync property and s/isSyncRoot/syncRoot/
Diffstat (limited to 'drive/sync_list.go')
-rw-r--r--drive/sync_list.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/drive/sync_list.go b/drive/sync_list.go
index 6ded606..e035239 100644
--- a/drive/sync_list.go
+++ b/drive/sync_list.go
@@ -16,7 +16,7 @@ type ListSyncArgs struct {
func (self *Drive) ListSync(args ListSyncArgs) error {
listArgs := listAllFilesArgs{
- query: "appProperties has {key='isSyncRoot' and value='true'}",
+ query: "appProperties has {key='syncRoot' and value='true'}",
fields: []googleapi.Field{"nextPageToken", "files(id,name,mimeType,createdTime)"},
}
files, err := self.listAllFiles(listArgs)