Skip to content

Commit 28cf591

Browse files
committed
fix(download): fix har download bug
1 parent bd11d0c commit 28cf591

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bin/tsw/util/auto-report/download.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -419,8 +419,8 @@ const downloadHaz = function (request, response, opt) {
419419
viewData.forEach(function(tmp, i) {
420420
if (tmp.requestHeader) {
421421
tmp.requestRaw = Buffer.concat([
422-
Buffer.from(tmp.curr.requestHeader || '', 'utf-8'),
423-
Buffer.from(tmp.curr.requestBody || '', 'base64')
422+
Buffer.from(tmp.requestHeader || '', 'utf-8'),
423+
Buffer.from(tmp.requestBody || '', 'base64')
424424
]).toString('UTF-8');
425425
}
426426

0 commit comments

Comments
 (0)