Skip to content

Commit

Permalink
fix(project): change variable name (#402)
Browse files Browse the repository at this point in the history
  • Loading branch information
AntonLantukh authored Nov 16, 2023
1 parent 6b1285b commit 8518460
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stores/CheckoutController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ export default class CheckoutController {
if (!response.responseData.available.length) return;

// @ts-expect-error we have checked the presence of the method
const switchOffers = response.responseData.available.map((offer: SwitchOffer) => this.checkoutService.getOffer({ offerId: offer.toOfferId }, useSandbox));
const switchOffers = response.responseData.available.map((offer: SwitchOffer) => this.checkoutService.getOffer({ offerId: offer.toOfferId }, isSandbox));
const offers = await Promise.all(switchOffers);

// Sort offers for proper ordering in "Choose Offer" modal when applicable
Expand Down

0 comments on commit 8518460

Please sign in to comment.