diff --git a/backend/drive/drive.go b/backend/drive/drive.go index 7c3275f..754e5f9 100644 --- a/backend/drive/drive.go +++ b/backend/drive/drive.go @@ -1215,7 +1215,7 @@ func NewFs(name, path string, m configmap.Mapper) (fs.Fs, error) { } //------------------------------------------------------ if(maybeIsFile){ - file,err := f.svc.Files.Get(opt.RootFolderID).Fields("name","id","size","mimeType").Do() + file,err := f.svc.Files.Get(opt.RootFolderID).Fields("name","id","size","mimeType").SupportsAllDrives(true).Do() if err == nil{ //fmt.Println("file.MimeType", file.MimeType) if( "application/vnd.google-apps.folder" != file.MimeType && file.MimeType != ""){