From a7d393062755975d90963b58f6c79ddf9715f663 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 --- 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 fa75f7be5f72fa..e79e46ac3e69b8 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}