Spaces:
Running
Running
Update app.js
Browse files
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.keys('*') {
|
| 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.keys('*')) {
|
| 27 |
const value = await redis.get(key);
|
| 28 |
result.push({ key, value }); // Preserve both key and value
|
| 29 |
}
|