From aa4cd39c943b67169def224e224bd07b815b70ec Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Thu, 31 Oct 2024 09:29:04 -0700 Subject: biome lint --- routes/info.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'routes/info.ts') 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)); } -- cgit v1.2.3