null checks

This commit is contained in:
Kyle Spearrin 2018-08-23 08:56:27 -04:00
parent db1a632c65
commit 5d95fc733c
1 changed files with 1 additions and 1 deletions

View File

@ -178,7 +178,7 @@ export class Cipher extends Domain {
c.edit = this.edit; c.edit = this.edit;
c.organizationUseTotp = this.organizationUseTotp; c.organizationUseTotp = this.organizationUseTotp;
c.favorite = this.favorite; c.favorite = this.favorite;
c.revisionDate = this.revisionDate.toISOString(); c.revisionDate = this.revisionDate != null ? this.revisionDate.toISOString() : null;
c.type = this.type; c.type = this.type;
c.collectionIds = this.collectionIds; c.collectionIds = this.collectionIds;