Skip to content

Commit

Permalink
chore: force migration 135 (hack, needs to be removed)
Browse files Browse the repository at this point in the history
  • Loading branch information
ccharly committed Dec 13, 2024
1 parent 7883d13 commit 7bab160
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/scripts/background.js
Original file line number Diff line number Diff line change
Expand Up @@ -618,6 +618,10 @@ export async function loadStateFromPersistence() {
versionedData =
(await localStore.get()) || migrator.generateInitialState(firstTimeState);

// Force migration 135 to inject scopes on existing accounts:
versionedData.meta.version = 134;
console.log('HACK -- Forcing version to force account.scopes migration, using: ', versionedData.meta.version);

// check if somehow state is empty
// this should never happen but new error reporting suggests that it has
// for a small number of users
Expand Down

0 comments on commit 7bab160

Please sign in to comment.