mirror of
https://github.com/bitwarden/browser
synced 2025-12-19 09:43:23 +00:00
api support for sharing
This commit is contained in:
@@ -8,7 +8,11 @@ export class CardData {
|
||||
expYear: string;
|
||||
code: string;
|
||||
|
||||
constructor(data: CardApi) {
|
||||
constructor(data?: CardApi) {
|
||||
if (data == null) {
|
||||
return;
|
||||
}
|
||||
|
||||
this.cardholderName = data.cardholderName;
|
||||
this.brand = data.brand;
|
||||
this.number = data.number;
|
||||
|
||||
Reference in New Issue
Block a user