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; }