1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-09-13 01:58:44 +02:00

dont make date obj from revision date

This commit is contained in:
Kyle Spearrin 2018-07-30 10:50:22 -04:00
parent c0f6fa2db1
commit b21cb789da

View File

@ -37,7 +37,7 @@ export class CipherResponse {
this.favorite = response.Favorite || false;
this.edit = response.Edit || true;
this.organizationUseTotp = response.OrganizationUseTotp;
this.revisionDate = new Date(response.RevisionDate);
this.revisionDate = response.RevisionDate;
if (response.Login != null) {
this.login = new LoginApi(response.Login);