Skip to content

Commit

Permalink
fix IE error
Browse files Browse the repository at this point in the history
  • Loading branch information
cyberxander90 committed Feb 11, 2022
1 parent ba354c8 commit f4a1729
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/recurly/bank-redirect.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ function validatePaymentMethodType (data) {
return ['payment_method_type cannot be blank'];
}

if (!['ideal', 'sofort'].includes(data.payment_method_type)) {
if (data.payment_method_type !== 'ideal' && data.payment_method_type !== 'sofort') {
return ['invalid payment_method_type'];
}

Expand Down

0 comments on commit f4a1729

Please sign in to comment.