Skip to content

Commit

Permalink
fix: if check
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholasio committed Jan 23, 2024
1 parent b120599 commit 712a7b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/next-redis-cache-provider/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ export default class RedisCache implements CacheHandler {
...args: Parameters<IncrementalCache['get']>
): Promise<CacheHandlerValue | null> {
const [key, ctx] = args;
if (ctx?.fetchIdx || ctx?.fetchIdx) {
if (ctx?.fetchIdx || ctx?.fetchUrl) {
return null;
}

Expand Down

0 comments on commit 712a7b3

Please sign in to comment.