浏览代码

Fix mapping of metadata updation Time

Neeraj Gupta 1 年之前
父节点
当前提交
985a7ccc78
共有 2 个文件被更改,包括 1 次插入0 次删除
  1. 0 0
      pkg/export.go
  2. 1 0
      pkg/mappers.go

+ 0 - 0
pkg/sync.go → pkg/export.go


+ 1 - 0
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