Skip to content

Commit db0ea83

Browse files
Juneezeeaduh95
authored andcommitted
doc: fix grammar in global dispatcher usage
Add missing preposition "by" to clarify how to change the global dispatcher. PR-URL: #59344 Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
1 parent 5e4f830 commit db0ea83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/globals.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -515,7 +515,7 @@ The dispatcher must be compatible with `undici`'s
515515
fetch(url, { dispatcher: new MyAgent() });
516516
```
517517

518-
It is possible to change the global dispatcher in Node.js installing `undici` and using
518+
It is possible to change the global dispatcher in Node.js by installing `undici` and using
519519
the `setGlobalDispatcher()` method. Calling this method will affect both `undici` and
520520
Node.js.
521521

0 commit comments

Comments
 (0)