Skip to content

Commit da5c38d

Browse files
authored
Fix missing code in diagnostics example (#4195)
1 parent c9f50c4 commit da5c38d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/docs/api/DiagnosticsChannel.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ diagnosticsChannel.channel('undici:request:create').subscribe(({ request }) => {
1919
console.log('completed', request.completed)
2020
console.log('method', request.method)
2121
console.log('path', request.path)
22-
console.log('headers') // array of strings, e.g: ['foo', 'bar']
22+
console.log('headers', request.headers) // array of strings, e.g: ['foo', 'bar']
2323
request.addHeader('hello', 'world')
2424
console.log('headers', request.headers) // e.g. ['foo', 'bar', 'hello', 'world']
2525
})

0 commit comments

Comments
 (0)