Skip to content

Commit 0ec1b6f

Browse files
committed
no await on mapchunk
1 parent f2b2bff commit 0ec1b6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/httpRoutes/commands.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ async function streamToResponse(
3939
continue
4040
}
4141

42-
const data = await mapChunkToBuffer(chunk)
42+
const data = mapChunkToBuffer(chunk)
4343
if (isBinaryContent) {
4444
res.write(data)
4545
} else {

0 commit comments

Comments
 (0)