Skip to content

Commit 453e6f5

Browse files
fredmnlWilliam
andcommitted
Update lib/api/apiUtils/object/prepareStream.js
Co-authored-by: William <91462779+williamlardier@users.noreply.github.com>
1 parent 7f5443b commit 453e6f5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/api/apiUtils/object/prepareStream.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,7 @@ function prepareStream(stream, streamingV4Params, log, errCb) {
3333

3434
function stripTrailingChecksumStream(stream, log) {
3535
// don't do anything if we are not in the correct integrity check mode
36-
if (stream.headers['x-amz-content-sha256'] !==
37-
'STREAMING-UNSIGNED-PAYLOAD-TRAILER') {
36+
if (stream.headers['x-amz-content-sha256'] !== 'STREAMING-UNSIGNED-PAYLOAD-TRAILER') {
3837
return stream;
3938
}
4039

0 commit comments

Comments
 (0)