From 23e950beea3264f663e1f5bf8e1674afd21900d1 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Fri, 22 Jun 2018 09:41:01 -0400 Subject: [PATCH] dont export organization ciphers --- src/services/export.service.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/services/export.service.ts b/src/services/export.service.ts index 6f2a1ae3ee..e62b089c97 100644 --- a/src/services/export.service.ts +++ b/src/services/export.service.ts @@ -9,8 +9,6 @@ import { FolderService } from '../abstractions/folder.service'; import { CipherView } from '../models/view/cipherView'; import { FolderView } from '../models/view/folderView'; -import { Utils } from '../misc/utils'; - export class ExportService implements ExportServiceAbstraction { constructor(private folderService: FolderService, private cipherService: CipherService) { } @@ -41,6 +39,10 @@ export class ExportService implements ExportServiceAbstraction { return; } + if (c.organizationId != null) { + return; + } + const cipher: any = { folder: c.folderId && foldersMap.has(c.folderId) ? foldersMap.get(c.folderId).name : null, favorite: c.favorite ? 1 : null,