File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
clerk-js/src/core/resources Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ export class CommercePaymentSource extends BaseResource implements CommercePayme
3636 this . paymentMethod = data . payment_method ;
3737 this . cardType = data . card_type ;
3838 this . isDefault = data . is_default ;
39- this . isRemovable = data . is_removable ?? false ;
39+ this . isRemovable = data . is_removable ;
4040 this . status = data . status ;
4141 this . walletType = data . wallet_type ?? undefined ;
4242
Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ export interface CommercePaymentSourceResource extends ClerkResource {
9696 paymentMethod : string ;
9797 cardType : string ;
9898 isDefault : boolean ;
99- isRemovable ? : boolean ;
99+ isRemovable : boolean ;
100100 status : CommercePaymentSourceStatus ;
101101 walletType : string | undefined ;
102102 remove : ( params ?: RemovePaymentSourceParams ) => Promise < DeletedObjectResource > ;
Original file line number Diff line number Diff line change @@ -638,7 +638,7 @@ export interface CommercePaymentSourceJSON extends ClerkResourceJSON {
638638 payment_method : string ;
639639 card_type : string ;
640640 is_default : boolean ;
641- is_removable ? : boolean ;
641+ is_removable : boolean ;
642642 status : CommercePaymentSourceStatus ;
643643 wallet_type : string | null ;
644644}
You can’t perform that action at this time.
0 commit comments