Skip to content

Commit

Permalink
Add explicit note RE case-sensitivity for cardType.
Browse files Browse the repository at this point in the history
  • Loading branch information
jkodroff committed Oct 30, 2023
1 parent 2e74139 commit 1d6861b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions redis-cloud-aws-ts/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ const getPreferredAz = function () {
const preferredAvailabilityZone = getPreferredAz();
const redisVpcCidr = "10.0.0.0/24";

// NOTE: cardType is case-sensitive: "Visa" will work. "visa" will not.
const card = rediscloud.getPaymentMethodOutput({
cardType: config.require("cardType"),
lastFourNumbers: config.require("lastFourNumbers"),
Expand Down

0 comments on commit 1d6861b

Please sign in to comment.