fix(google_drive): incorrect `ModifiedTime` (close #2002)

pull/2046/head
Noah Hsu 2022-10-14 14:17:33 +08:00
parent 549355bb29
commit 7a95850c1b
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ func fileToObj(f File) *model.ObjThumb {
ID: f.Id,
Name: f.Name,
Size: size,
Modified: time.Time{},
Modified: f.ModifiedTime,
IsFolder: f.MimeType == "application/vnd.google-apps.folder",
},
Thumbnail: model.Thumbnail{},