mirror of
https://github.com/AlistGo/alist.git
synced 2025-12-19 02:50:06 +08:00
fix(google): folder judgment missed
This commit is contained in:
parent
5ad3849bb6
commit
56219bf096
@ -34,7 +34,7 @@ func fileToObj(f File) *model.ObjThumb {
|
||||
Name: f.Name,
|
||||
Size: size,
|
||||
Modified: time.Time{},
|
||||
IsFolder: false,
|
||||
IsFolder: f.MimeType == "application/vnd.google-apps.folder",
|
||||
},
|
||||
Thumbnail: model.Thumbnail{},
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user