From 57686d9df1765f8a92dce31d50a40890068ae906 Mon Sep 17 00:00:00 2001 From: Noah Hsu Date: Mon, 19 Sep 2022 19:35:07 +0800 Subject: [PATCH] fix(189): file size missed --- drivers/189/util.go | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/189/util.go b/drivers/189/util.go index 77cf3ff6..45833fde 100644 --- a/drivers/189/util.go +++ b/drivers/189/util.go @@ -215,6 +215,7 @@ func (d *Cloud189) getFiles(fileId string) ([]model.Obj, error) { ID: strconv.FormatInt(file.Id, 10), Name: file.Name, Modified: lastOpTime, + Size: file.Size, }, Thumbnail: model.Thumbnail{Thumbnail: file.Icon.SmallUrl}, })