mirror of
https://github.com/bitwarden/browser
synced 2025-12-18 09:13:33 +00:00
api support for sharing
This commit is contained in:
@@ -7,7 +7,10 @@ export class AttachmentData {
|
||||
size: number;
|
||||
sizeName: string;
|
||||
|
||||
constructor(response: AttachmentResponse) {
|
||||
constructor(response?: AttachmentResponse) {
|
||||
if (response == null) {
|
||||
return;
|
||||
}
|
||||
this.id = response.id;
|
||||
this.url = response.url;
|
||||
this.fileName = response.fileName;
|
||||
|
||||
Reference in New Issue
Block a user