From b4e7260d3e86ceae52235426352e7726865fb5fe 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 7c3499f9b865f3..2528fd271c22fc 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}