Skip to content

Commit 4a988fb

Browse files
committed
fix(Account#sync): Use current browser tree instead of old cache tree as cache for CachingTreeWrapper when loading continuation
Signed-off-by: Marcel Klehr <[email protected]>
1 parent 1be2fad commit 4a988fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/Account.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ export default class Account {
280280
// if there is a pending continuation, we resume it
281281

282282
Logger.log('Found existing persisted pending continuation. Resuming last sync')
283-
await localResource.setCacheTree(this.syncProcess.getCacheTree())
283+
await localResource.setCacheTree(await localResource.getBookmarksTree())
284284
await this.syncProcess.sync()
285285
}
286286

0 commit comments

Comments
 (0)