Unverified Commit 8050a6c8 authored by Nabeel Sulieman's avatar Nabeel Sulieman Committed by GitHub

Fix typo in fetchType annotation (#48646)

`fetch-get` and `fetch-set` were typos. They should be `cache-get` and
`cache-set`
parent 658c6005
...@@ -118,7 +118,7 @@ export default class FetchCache implements CacheHandler { ...@@ -118,7 +118,7 @@ export default class FetchCache implements CacheHandler {
const start = Date.now() const start = Date.now()
const fetchParams: NextFetchCacheParams = { const fetchParams: NextFetchCacheParams = {
internal: true, internal: true,
fetchType: 'fetch-get', fetchType: 'cache-get',
fetchUrl: fetchUrl, fetchUrl: fetchUrl,
fetchIdx, fetchIdx,
} }
...@@ -233,7 +233,7 @@ export default class FetchCache implements CacheHandler { ...@@ -233,7 +233,7 @@ export default class FetchCache implements CacheHandler {
} }
const fetchParams: NextFetchCacheParams = { const fetchParams: NextFetchCacheParams = {
internal: true, internal: true,
fetchType: 'fetch-set', fetchType: 'cache-set',
fetchUrl, fetchUrl,
fetchIdx, fetchIdx,
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment