Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Fix mapping of metadata updation Time

Neeraj Gupta985a7ccc7858
diff --git a/pkg/sync.go b/pkg/export.go
similarity index 100%
rename from pkg/sync.go
rename to pkg/export.go
diff --git a/pkg/mappers.go b/pkg/mappers.go
index 2aa67ee9e9..dd09b89636 100644
--- a/pkg/mappers.go
+++ b/pkg/mappers.go
@@ -83,6 +83,7 @@ func (c *ClICtrl) mapApiFileToPhotoFile(ctx context.Context, album model.RemoteA
}
var photoFile model.RemoteFile
photoFile.ID = file.ID
+ photoFile.LastUpdateTime = file.UpdationTime
photoFile.Key = *model.MakeEncString(fileKey, c.CliKey)
photoFile.FileNonce = file.File.DecryptionHeader
photoFile.ThumbnailNonce = file.Thumbnail.DecryptionHeader