mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 08:43:33 +00:00
added props to send access models (#284)
This commit is contained in:
@@ -11,6 +11,8 @@ export class SendAccessResponse extends BaseResponse {
|
||||
name: string;
|
||||
file: SendFileApi;
|
||||
text: SendTextApi;
|
||||
expirationDate: Date;
|
||||
creatorIdentifier: string;
|
||||
|
||||
constructor(response: any) {
|
||||
super(response);
|
||||
@@ -27,5 +29,8 @@ export class SendAccessResponse extends BaseResponse {
|
||||
if (file != null) {
|
||||
this.file = new SendFileApi(file);
|
||||
}
|
||||
|
||||
this.expirationDate = this.getResponseProperty('ExpirationDate');
|
||||
this.creatorIdentifier = this.getResponseProperty('CreatorIdentifier');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user