From f8a3914ffe9f29af1f3240bf85ba387e86e4b81f Mon Sep 17 00:00:00 2001 From: Mark Fingerhuth Date: Thu, 7 Jan 2021 22:51:16 -0500 Subject: [PATCH] Updated shoe size doc string to make it clear that the size should be either 'US M 9.5' or 'US 12' or 'W 10' and not 'US M 9.5 / W 11' (which isn't a valid size). --- README.md | 2 +- bot.js | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 8222786..7073add 100644 --- a/README.md +++ b/README.md @@ -118,7 +118,7 @@ npm install ## Usage -1. You'll need to reate a .env file and add the following variables. +1. You'll need to create a .env file and add the following variables. ```sh EMAIL=youremail@example.com diff --git a/bot.js b/bot.js index 1a9d8ae..73202d6 100644 --- a/bot.js +++ b/bot.js @@ -31,11 +31,12 @@ const runSnkrBot = () => { // cv_code: 3-digit credit card validation code for the card saved to your Nike.com account const cv_code = process.env.CVC - // size: the shoe size, as you see in the table of sizes on a product page, e.g., 'M 9 / W 10.5' - const size = 'US M 9.5 / W 11'; + // size: the shoe size, as you see in the table of sizes on a product page, e.g., 'M 9', 'US 12' or 'W 10.5' + // make sure to double check some other sneaker size charts on Nike SNKRS Canada to get this right + const size = 'US 11'; /* date: the date and time the shoe is being dropped at. Months will begin at zero so be sure to subratct one from any month. - Date format should be as follows: (year, month - 1, day, hour, minute, seconds) + Date format should be as follows: (year, month - 1, day, hour, minute, seconds) */ const date = new Date(2020, 4, 19, 23, 48, 30);