add missing secure note type

This commit is contained in:
Kyle Spearrin 2019-01-27 17:43:29 -05:00
parent d9f68b35a6
commit fa5b3ea0eb
1 changed files with 2 additions and 0 deletions

View File

@ -9,6 +9,7 @@ import { IdentityView } from '../models/view/identityView';
import { SecureNoteView } from '../models/view/secureNoteView';
import { CipherType } from '../enums/cipherType';
import { SecureNoteType } from '../enums/secureNoteType';
const HandledResults = new Set(['ADDRESS', 'AUTHENTIFIANT', 'BANKSTATEMENT', 'IDCARD', 'IDENTITY',
'PAYMENTMEANS_CREDITCARD', 'PAYMENTMEAN_PAYPAL', 'EMAIL']);
@ -143,6 +144,7 @@ export class DashlaneJsonImporter extends BaseImporter implements Importer {
const cipher = new CipherView();
cipher.secureNote = new SecureNoteView();
cipher.type = CipherType.SecureNote;
cipher.secureNote.type = SecureNoteType.Generic;
if (name != null) {
cipher.name = name;
} else {