From 57bc979b4a90649bf6b39adecea4c50f2bcdd1b4 Mon Sep 17 00:00:00 2001 From: Pierre Dulac Date: Fri, 17 Apr 2026 23:23:52 +0200 Subject: [PATCH] fix: fall back to next scope when no restore keys --- lib/storage.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/storage.ts b/lib/storage.ts index baea1d7..d3c51ee 100644 --- a/lib/storage.ts +++ b/lib/storage.ts @@ -425,7 +425,7 @@ export class Storage { type: 'prefixed-primary' as const, } - if (restoreKeys.length === 0) return + if (restoreKeys.length === 0) continue for (const key of restoreKeys) { const exactMatch = await this.db