Skip to content

Commit

Permalink
devop: new uuid for each restore
Browse files Browse the repository at this point in the history
  • Loading branch information
kvhnuke committed Feb 12, 2025
1 parent 75ed672 commit 75a393f
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions packages/extension/src/libs/backup-state/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,6 @@ class BackupState {
}
}
}
await this.setUserId(decryptedBackup.uuid);
}
});
}
Expand Down Expand Up @@ -354,11 +353,6 @@ class BackupState {
return state.userId;
}

async setUserId(userId: string): Promise<void> {
const state: IState = await this.getState();
await this.setState({ ...state, userId });
}

async disableBackups(): Promise<void> {
const state: IState = await this.getState();
await this.setState({ ...state, enabled: false });
Expand Down

0 comments on commit 75a393f

Please sign in to comment.