Pepguy commited on
Commit
cf14efc
·
verified ·
1 Parent(s): 5f00263

Update app.js

Browse files
Files changed (1) hide show
  1. app.js +1 -1
app.js CHANGED
@@ -23,7 +23,7 @@ const drive = google.drive({ version: 'v3', auth });
23
 
24
  async function getAllRedisData() {
25
  const result = [];
26
- for await (const key of redis.scanIterator()) {
27
  const value = await redis.get(key);
28
  result.push({ key, value }); // Preserve both key and value
29
  }
 
23
 
24
  async function getAllRedisData() {
25
  const result = [];
26
+ for await (const key of redis.get("*")) {
27
  const value = await redis.get(key);
28
  result.push({ key, value }); // Preserve both key and value
29
  }