Skip to content

Commit

Permalink
small note
Browse files Browse the repository at this point in the history
  • Loading branch information
fiskus committed Dec 2, 2024
1 parent de1060a commit 1dd68ad
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions catalog/app/containers/Bucket/requests/object.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ export const objectVersions = async ({ s3, bucket, path }: ObjectVersionsArgs) =
.map((v) => ({
isLatest: v.IsLatest || false,
lastModified: v.LastModified,
// TODO: make two separate maps, object version can be without `Size`
size: isObjectVersion(v) ? v.Size : undefined,
id: v.VersionId,
deleteMarker: isDeleteMarker(v),
Expand Down

0 comments on commit 1dd68ad

Please sign in to comment.