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}