Skip to content

Commit

Permalink
Fixing inability to save static defaults on subscription item (#840)
Browse files Browse the repository at this point in the history
  • Loading branch information
mbianco-stripe authored Oct 6, 2022
1 parent 5a3a03d commit 1069d69
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ export default class DataMappingStep extends LightningElement {
product: {},
subscription_schedule: {},
subscription_phase: {},
subscription_item: {},
price: {},
price_order_item: {}
},
Expand Down Expand Up @@ -263,7 +264,7 @@ export default class DataMappingStep extends LightningElement {
if(!fieldData.sfValue) {
continue
}

if(fieldData.staticValue === true) {
listOfAllMappings.field_defaults[stripeObjectName][fieldData.value] = fieldData.sfValue;
} else {
Expand Down

0 comments on commit 1069d69

Please sign in to comment.