diff --git a/src/content/docs/workers/runtime-apis/fetch.mdx b/src/content/docs/workers/runtime-apis/fetch.mdx index 9f8a9d0f5de072..78aca0b825adf4 100644 --- a/src/content/docs/workers/runtime-apis/fetch.mdx +++ b/src/content/docs/workers/runtime-apis/fetch.mdx @@ -62,7 +62,7 @@ async function eventHandler(event) { -* fetch(resource, options optional) : Promise`` +* fetch(request, options optional) : Promise`` * Fetch returns a promise to a Response. @@ -72,7 +72,7 @@ async function eventHandler(event) { -* [`resource`](https://developer.mozilla.org/en-US/docs/Web/API/fetch#resource) Request | string | URL +* [`request`](https://developer.mozilla.org/en-US/docs/Web/API/fetch#request) Request | string | URL * `options` options * `cache` `undefined | 'no-store'` optional @@ -124,4 +124,4 @@ export default { * [Example: Fetch HTML](/workers/examples/fetch-html/) * [Example: Fetch JSON](/workers/examples/fetch-json/) * [Example: cache using Fetch](/workers/examples/cache-using-fetch/) -* Write your Worker code in [ES modules syntax](/workers/reference/migrate-to-module-workers/) for an optimized experience. \ No newline at end of file +* Write your Worker code in [ES modules syntax](/workers/reference/migrate-to-module-workers/) for an optimized experience.