Skip to content

Commit 3eecb68

Browse files
committed
feat: improvements
1 parent 4ac7e94 commit 3eecb68

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/redis/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ Now the cache functions such as the following will be cached in Redis:
2929
async function getCachedData() {
3030
'use cache';
3131

32-
const data = await getFromDatabase();
32+
// imaginary database function
33+
const data = await getFromDatabase('something');
3334

3435
return data;
3536
}

0 commit comments

Comments
 (0)