1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-07-16 13:55:52 +02:00

null checks

This commit is contained in:
Kyle Spearrin 2018-08-23 08:56:27 -04:00
parent db1a632c65
commit 5d95fc733c

View File

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