Skip to content

Commit 337ebf7

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

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

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)