mirror of
https://github.com/bitwarden/clients.git
synced 2026-07-19 21:01:36 +08:00
Remove null check in ElectronStorageService.Save (#464)
This commit is contained in:
parent
aa81f8fb96
commit
add4b2f3e9
@ -46,9 +46,6 @@ export class ElectronStorageService implements StorageService {
|
||||
}
|
||||
|
||||
save(key: string, obj: any): Promise<any> {
|
||||
if (obj == null) {
|
||||
return Promise.resolve();
|
||||
}
|
||||
if (obj instanceof Set) {
|
||||
obj = Array.from(obj);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user