fix: virtual obj is a folder

This commit is contained in:
Noah Hsu 2022-07-19 18:10:02 +08:00
parent 638db77ca1
commit 872e7cf87b

View File

@ -211,6 +211,7 @@ func GetStorageVirtualFilesByPath(prefix string) []model.Obj {
Name: name,
Size: 0,
Modified: v.GetStorage().Modified,
IsFolder: true,
})
set[name] = nil
}