1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-18 09:13:33 +00:00

standardize date types

This commit is contained in:
Kyle Spearrin
2018-08-20 16:20:51 -04:00
parent d0c51bacfd
commit 9bd8b73e27
9 changed files with 22 additions and 19 deletions

View File

@@ -39,7 +39,8 @@ export class CipherRequest {
uris: null,
username: cipher.login.username ? cipher.login.username.encryptedString : null,
password: cipher.login.password ? cipher.login.password.encryptedString : null,
passwordRevisionDate: cipher.login.passwordRevisionDate,
passwordRevisionDate: cipher.login.passwordRevisionDate != null ?
cipher.login.passwordRevisionDate.toISOString() : null,
totp: cipher.login.totp ? cipher.login.totp.encryptedString : null,
};