aboutsummaryrefslogtreecommitdiffstats
path: root/drive/sync_download.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_download.go
parent428da4bcfedb3d3a2441d1d236f861e72ee8f5c6 (diff)
downloadgdrive-4b95496643d36184ffa1a7b78ae2d1150ecdf0b6.tar.bz2
Add sync property and s/isSyncRoot/syncRoot/
Diffstat (limited to 'drive/sync_download.go')
-rw-r--r--drive/sync_download.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/drive/sync_download.go b/drive/sync_download.go
index 5016cc1..4d84eea 100644
--- a/drive/sync_download.go
+++ b/drive/sync_download.go
@@ -95,7 +95,7 @@ func (self *Drive) getSyncRoot(rootId string) (*drive.File, error) {
}
// Ensure directory is a proper syncRoot
- if _, ok := f.AppProperties["isSyncRoot"]; !ok {
+ if _, ok := f.AppProperties["syncRoot"]; !ok {
return nil, fmt.Errorf("Provided id is not a sync root directory")
}