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}