diff --git a/packages/next-redis-cache-provider/src/index.ts b/packages/next-redis-cache-provider/src/index.ts index 80248f5db..1a8671fe5 100644 --- a/packages/next-redis-cache-provider/src/index.ts +++ b/packages/next-redis-cache-provider/src/index.ts @@ -135,7 +135,7 @@ export default class RedisCache implements CacheHandler { ...args: Parameters ): Promise { const [key, ctx] = args; - if (ctx?.fetchIdx || ctx?.fetchIdx) { + if (ctx?.fetchIdx || ctx?.fetchUrl) { return null; }