aboutsummaryrefslogtreecommitdiffstats
path: root/routes/info.ts
diff options
context:
space:
mode:
Diffstat (limited to 'routes/info.ts')
-rw-r--r--routes/info.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/routes/info.ts b/routes/info.ts
index f2e262f6..09361a01 100644
--- a/routes/info.ts
+++ b/routes/info.ts
@@ -9,11 +9,11 @@ export default {
let total = 0;
- for await (let k of db.scanIterator({ MATCH: "balance:*" })) {
+ for await (const k of db.scanIterator({ MATCH: "balance:*" })) {
total += parseInt(await db.get(k));
}
- for await (let k of archive.scanIterator({ MATCH: "balance:*" })) {
+ for await (const k of archive.scanIterator({ MATCH: "balance:*" })) {
total += parseInt(await archive.get(k));
}