test(thumb): new changes in models/cache pkg

This commit is contained in:
Aaron Liu
2023-04-07 20:33:05 +08:00
parent c8b736bd8f
commit 408733a974
4 changed files with 185 additions and 83 deletions

View File

@@ -430,10 +430,6 @@ func (file *File) resetThumb() error {
delete(file.MetadataSerialized, ThumbStatusMetadataKey)
metaValue, err := json.Marshal(&file.MetadataSerialized)
if err != nil {
return err
}
file.Metadata = string(metaValue)
return err
}