1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-27 12:36:14 +01: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);