From 7b3fce17796bc7b415b65b7e869e8aa081eae022 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Mon, 8 Oct 2018 15:50:58 -0400 Subject: [PATCH] default empty string on description to notes --- src/importers/passmanJsonImporter.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/importers/passmanJsonImporter.ts b/src/importers/passmanJsonImporter.ts index 01110fac12..08c39cef92 100644 --- a/src/importers/passmanJsonImporter.ts +++ b/src/importers/passmanJsonImporter.ts @@ -33,7 +33,7 @@ export class PassmanJsonImporter extends BaseImporter implements Importer { cipher.login.password = this.getValueOrDefault(credential.password); cipher.login.uris = this.makeUriArray(credential.url); - cipher.notes += this.getValueOrDefault(credential.description); + cipher.notes += this.getValueOrDefault(credential.description, ''); if (credential.otp != null) { cipher.login.totp = this.getValueOrDefault(credential.otp.secret); }