From 3535f6f38756891147a5e5b66bf7dd4155900bdc Mon Sep 17 00:00:00 2001 From: Moritz Peters Date: Mon, 15 Jan 2018 20:36:55 +0100 Subject: [PATCH] doc: fix typo in http2stream.close param default MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/18166 Reviewed-By: Anna Henningsen Reviewed-By: Tobias Nießen Reviewed-By: James M Snell Reviewed-By: Luigi Pinca Reviewed-By: Colin Ihrig --- doc/api/http2.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/http2.md b/doc/api/http2.md index f92aec7288d0e7..cbdb8c2d9f258d 100644 --- a/doc/api/http2.md +++ b/doc/api/http2.md @@ -919,7 +919,7 @@ added: v8.4.0 --> * code {number} Unsigned 32-bit integer identifying the error code. **Default:** - `http2.constant.NGHTTP2_NO_ERROR` (`0x00`) + `http2.constants.NGHTTP2_NO_ERROR` (`0x00`) * `callback` {Function} An optional function registered to listen for the `'close'` event. * Returns: {undefined}