diff --git a/README.md b/README.md index 3f61c78e8f..cc8740cefb 100644 --- a/README.md +++ b/README.md @@ -77,7 +77,7 @@ Here is a list of variables that you can use to customize your newly copied `.en | `HEADLESS` | Puppeteer to run headless or not | Debugging related, default: `true` | | `IN_STOCK_WAIT_TIME` | Time to wait between requests to the same link if it has that card in stock | In seconds, default: `0` | | `LOG_LEVEL` | [Logging levels](https://github.com/winstonjs/winston#logging-levels) | Debugging related, default: `info` | -| `LOW_BANDWIDTH` | Blocks images/fonts to reduce traffic (Note: disabled adblocker) | Default: `false` | +| `LOW_BANDWIDTH` | Blocks images/fonts to reduce traffic | Disables ad blocker, default: `false` | | `MICROCENTER_LOCATION` | Specific MicroCenter location to search | Default : `web` | | `OPEN_BROWSER` | Toggle for whether or not the browser should open when item is found | Default: `true` | | `PAGE_TIMEOUT` | Navigation Timeout in milliseconds | `0` for infinite, default: `30000` | diff --git a/src/store/lookup.ts b/src/store/lookup.ts index c70613886d..4f367b7cfc 100644 --- a/src/store/lookup.ts +++ b/src/store/lookup.ts @@ -33,7 +33,7 @@ async function lookup(browser: Browser, store: Store) { continue; } - if (Config.page.inStockWaitTime && inStock[store.name]) { + if (Config.page.inStockWaitTime && inStock[link.url]) { Logger.info(Print.inStockWaiting(link, store, true)); continue; }