From a418410bd99ee61cddb4fbebe36d54c9cb4ce2d3 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Sat, 18 Nov 2023 05:19:34 -0500 Subject: [PATCH] fix: storage locations are in cacheDb --- src/node.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/node.ts b/src/node.ts index 90b7e39..d9fe933 100644 --- a/src/node.ts +++ b/src/node.ts @@ -145,7 +145,7 @@ export class S5Node { const map = new Map>>(); let bytes; try { - bytes = await this.db.get(stringifyHash(hash)); + bytes = await this.config.cacheDb.get(stringifyHash(hash)); } catch { return map; }