Skip to content

Commit

Permalink
fix(SFI-1025): refactor try catch
Browse files Browse the repository at this point in the history
  • Loading branch information
shanikantsingh committed Jan 7, 2025
1 parent 558194f commit e1e2177
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ function getOneClickPaymentMethods(customer) {
if (storedPaymentMethods) {
storedPaymentMethods?.forEach((storedPaymentMethod) => {
if (
storedPaymentMethod.supportedShopperInteractions &&
storedPaymentMethod.supportedShopperInteractions.indexOf('Ecommerce') >
storedPaymentMethod?.supportedShopperInteractions &&
storedPaymentMethod?.supportedShopperInteractions.indexOf('Ecommerce') >
-1
) {
oneClickPaymentMethods.push(storedPaymentMethod);
Expand Down

0 comments on commit e1e2177

Please sign in to comment.