Skip to content

Commit 36f854c

Browse files
committed
Revert "fix(BrowserAccountStorage): Do not JSON.stringify data"
This reverts commit cc5b42b.
1 parent b718abf commit 36f854c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/browser/BrowserAccountStorage.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export default class BrowserAccountStorage {
2424
let entry = await BrowserAccountStorage.getEntry(entryName, defaultVal)
2525
entry = fn(entry)
2626

27-
await browser.storage.local.set({ [entryName]: entry })
27+
await browser.storage.local.set({ [entryName]: JSON.stringify(entry) })
2828
})
2929
}
3030

0 commit comments

Comments
 (0)