diff --git a/files/en-us/web/api/streams_api/using_readable_streams/index.md b/files/en-us/web/api/streams_api/using_readable_streams/index.md index 628a4f3d5a508a4..044419c4eac47b5 100644 --- a/files/en-us/web/api/streams_api/using_readable_streams/index.md +++ b/files/en-us/web/api/streams_api/using_readable_streams/index.md @@ -207,7 +207,7 @@ button.addEventListener("click", () => aborter.abort()); logChunks("http://example.com/somefile.txt", { signal: aborter.signal }); async function logChunks(url, { signal }) { - const response = await fetch(url, signal); + const response = await fetch(url, { signal }); for await (const chunk of response.body) { // Do something with the chunk }