From 691fbb77abc9a1ca771edbf50422c3ff742f725b Mon Sep 17 00:00:00 2001 From: ymk <81808708+yk-eukarya@users.noreply.github.com> Date: Thu, 19 Sep 2024 11:00:19 +0200 Subject: [PATCH] fix --- server/internal/usecase/interactor/asset.go | 1 + 1 file changed, 1 insertion(+) diff --git a/server/internal/usecase/interactor/asset.go b/server/internal/usecase/interactor/asset.go index 40f7c2efac..0551fe30c2 100644 --- a/server/internal/usecase/interactor/asset.go +++ b/server/internal/usecase/interactor/asset.go @@ -477,6 +477,7 @@ func (i *Asset) UpdateFiles(ctx context.Context, aid id.AssetID, s *asset.Archiv return asset.NewFile(). Name(path.Base(f.Name)). Path(f.Name). + Size(uint64(f.Size)). GuessContentType(). Build(), true })