diff --git a/docs/api/run.md b/docs/api/run.md index 09525c9d86..6fb6febbfb 100644 --- a/docs/api/run.md +++ b/docs/api/run.md @@ -138,7 +138,7 @@ something.serve(function (req, res) { // could fetch data like in the previous example fetchData(state.matches).then(function (data) { var html = React.renderToString(); - req.send(html); + res.send(html); }); }); });