aboutsummaryrefslogtreecommitdiffstats
path: root/drive/sync_download.go
diff options
context:
space:
mode:
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")
}