diff --git a/index.js b/index.js index 6146f6f..ab03b0c 100644 --- a/index.js +++ b/index.js @@ -169,7 +169,7 @@ async function pollStore(zip, store) { ) { const buttonState = data.data.productBySkuId.fulfillmentOptions.buttonStates[0].buttonState; console.log(`skuId: ${skuId} Store: ${store} Ship to: ${zip} -> buttonState: ${buttonState}`); - if (buttonState !== "SOLD_OUT") { + if (buttonState !== "SOLD_OUT" && buttonState !== "NOT_AVAILABLE") { found = true; const productUrl = getProductUrl(skuId); console.log(productUrl);