Skip to content

Commit

Permalink
fix breaking change
Browse files Browse the repository at this point in the history
  • Loading branch information
baptistecdr committed Aug 18, 2024
1 parent e7f91e6 commit 5f787df
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/models/extension-options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export default class ExtensionOptions {
static async fromStorage(): Promise<ExtensionOptions> {
const storage = await browser.storage.sync.get(null);
if (storage.options) {
const extensionOptions = ExtensionOptions.deserialize(storage.options);
const extensionOptions = ExtensionOptions.deserialize(storage.options as string);
if (!extensionOptions.servers) {
// Legacy
for (const key of Object.keys(storage)) {
Expand Down

0 comments on commit 5f787df

Please sign in to comment.