mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 16:23:44 +00:00
convert sync service to ts
This commit is contained in:
@@ -123,7 +123,7 @@ export default class FolderService {
|
||||
this.decryptedFolderCache = null;
|
||||
}
|
||||
|
||||
async replace(folders: FolderData[]): Promise<any> {
|
||||
async replace(folders: { [id: string]: FolderData; }): Promise<any> {
|
||||
const userId = await this.userService.getUserId();
|
||||
await UtilsService.saveObjToStorage(Keys.foldersPrefix + userId, folders);
|
||||
this.decryptedFolderCache = null;
|
||||
|
||||
Reference in New Issue
Block a user