dont export organization ciphers

This commit is contained in:
Kyle Spearrin 2018-06-22 09:41:01 -04:00
parent 99e522a5d1
commit 23e950beea
1 changed files with 4 additions and 2 deletions

View File

@ -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,