Skip to content

Commit

Permalink
Update Pricing.vue
Browse files Browse the repository at this point in the history
fixes issue stripe#35
  • Loading branch information
eobrien-stripe authored Sep 7, 2020
1 parent 8638864 commit edfd55d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/components/Pricing.vue
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ export default {
estimatedTotalCost: function() {
// Calculate if we have any extra requests to account for
let extraRequests =
this.estimatedRequests - this.matchingPlan.numRequests;
this.estimatedRequests - this.store.getPlan(this.estimatedPlanId).numRequests;
if (extraRequests < 0) {
extraRequests = 0;
}
Expand Down

0 comments on commit edfd55d

Please sign in to comment.