Commit 7016fcf
committed
fix(slack): strip dispatcher option before passing to globalThis.fetch
In Node.js v25, globalThis.fetch does not support the dispatcher option
(only undici.fetch does). Strip dispatcher from init options while routing
dispatcher-backed requests through fetchWithRuntimeDispatcher (undici.fetch).
Fixes silent download-file failures on Node.js v25.1 parent 9ffe216 commit 7016fcf
1 file changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
| 80 | + | |
80 | 81 | | |
81 | | - | |
| 82 | + | |
82 | 83 | | |
83 | 84 | | |
84 | | - | |
| 85 | + | |
85 | 86 | | |
86 | 87 | | |
87 | 88 | | |
| |||
0 commit comments