summaryrefslogtreecommitdiff
path: root/doc/api/stream.md
diff options
context:
space:
mode:
Diffstat (limited to 'doc/api/stream.md')
-rw-r--r--doc/api/stream.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/stream.md b/doc/api/stream.md
index 5441cb0372..c1f23adae5 100644
--- a/doc/api/stream.md
+++ b/doc/api/stream.md
@@ -131,7 +131,7 @@ const server = http.createServer((req, res) => {
body += chunk;
});
- // the 'end' event indicates that the entire body has been received
+ // The 'end' event indicates that the entire body has been received
req.on('end', () => {
try {
const data = JSON.parse(body);