mirror of
https://github.com/bitwarden/browser
synced 2025-12-19 01:33:33 +00:00
api support for sharing
This commit is contained in:
@@ -21,7 +21,7 @@ export class CipherResponse {
|
||||
favorite: boolean;
|
||||
edit: boolean;
|
||||
organizationUseTotp: boolean;
|
||||
revisionDate: string;
|
||||
revisionDate: Date;
|
||||
attachments: AttachmentResponse[];
|
||||
collectionIds: string[];
|
||||
|
||||
@@ -35,7 +35,7 @@ export class CipherResponse {
|
||||
this.favorite = response.Favorite;
|
||||
this.edit = response.Edit;
|
||||
this.organizationUseTotp = response.OrganizationUseTotp;
|
||||
this.revisionDate = response.RevisionDate;
|
||||
this.revisionDate = new Date(response.RevisionDate);
|
||||
|
||||
if (response.Login != null) {
|
||||
this.login = new LoginApi(response.Login);
|
||||
|
||||
Reference in New Issue
Block a user