1
0
mirror of https://github.com/bitwarden/jslib synced 2025-12-06 00:03:29 +00:00

Fix linting

This commit is contained in:
Thomas Rittson
2022-05-12 12:47:01 +10:00
parent 01f5d3b011
commit 1c20b9063b
2 changed files with 2 additions and 4 deletions

View File

@@ -15,7 +15,6 @@ import { CollectionView } from "../view/collectionView";
import { FolderView } from "../view/folderView";
import { SendView } from "../view/sendView";
import { BaseEncryptedOrganizationKey } from "./account/encryptedKey";
import { EncString } from "./encString";
import { EnvironmentUrls } from "./environmentUrls";
import { GeneratedPasswordHistory } from "./generatedPasswordHistory";

View File

@@ -220,9 +220,8 @@ export class CryptoService implements CryptoServiceAbstraction {
let setKey = false;
for (const orgId in encOrgKeyData) {
// eslint-disable-next-line
if (!encOrgKeyData.hasOwnProperty(orgId) || result.has(orgId)) {
for (const orgId in Object.keys(encOrgKeyData)) {
if (result.has(orgId)) {
continue;
}