1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-19 09:43:23 +00:00

[PM-17541] Fix folder service key definition (#13060)

* [PM-17541] Switch folder key definition back to "folders" and add migration script for users that have switched to the incorrect key

* [PM-17541] Fix import path

* [PM-17541] Fix implicit any in spec file
This commit is contained in:
Shane Melton
2025-01-24 10:12:52 -08:00
committed by GitHub
parent b396dda406
commit b1744c4e0a
4 changed files with 148 additions and 3 deletions

View File

@@ -6,7 +6,7 @@ import { FolderView } from "../../models/view/folder.view";
export const FOLDER_ENCRYPTED_FOLDERS = UserKeyDefinition.record<FolderData>(
FOLDER_DISK,
"folder",
"folders",
{
deserializer: (obj: Jsonify<FolderData>) => FolderData.fromJSON(obj),
clearOn: ["logout"],