Skip to content

Commit

Permalink
fix: multipart upload storage crc32 integrity
Browse files Browse the repository at this point in the history
  • Loading branch information
Ashwin Kumar committed Oct 2, 2024
1 parent 7fed6ad commit bde0c51
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -154,9 +154,12 @@ export const getMultipartUploadHandlers = (
crc32: string | undefined,
) => {
inProgressUpload?.completedParts.push({
PartNumber: partNumber,
ETag: eTag,
ChecksumCRC32: crc32,
...{
PartNumber: partNumber,
ETag: eTag,
},
// TODO: crc32 can always be added once RN also has an implementation
...(crc32 ? { ChecksumCRC32: crc32 } : {}),
});
};
const concurrentUploadsProgressTracker =
Expand Down

0 comments on commit bde0c51

Please sign in to comment.