Skip to content

Commit

Permalink
Revert "refactor: use writer instead of responseStream"
Browse files Browse the repository at this point in the history
This reverts commit 946dca4.
  • Loading branch information
Jhinger committed Jul 16, 2024
1 parent 946dca4 commit c2673b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/presets/aws-lambda/runtime/aws-lambda-streaming.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ export const handler = awslambda.streamifyResponse(
reader = Readable.toWeb(Readable.from(JSON.stringify(r.body))).getReader();
}

await streamToNodeStream(reader, writer);
await streamToNodeStream(reader, responseStream);
writer.end();
}
}
Expand Down

0 comments on commit c2673b0

Please sign in to comment.