kartikey54 / VaccineAvailabilityNotifier

534 stars 334 forks source link

False Mail #52

Closed jarvishu closed 3 years ago

jarvishu commented 3 years ago

Hi All I am getting false email . The mail says that 1 slot is available but when I check the cowin website it isn't. Sharing screenshot of both: Anyone else facing same issue ? image image

sid8840 commented 3 years ago

the script checks the slot in 1 min's time and sends the mail. so it is possible that someone else books the slot in between. I try to avoid those 1 capacity slots because of unavailability. the script is working fine.

Hi All I am getting false email . The mail says that 1 slot is available but when I check the cowin website it isn't. Sharing screenshot of both: Anyone else facing same issue ? image image

manuagrwl commented 3 years ago

to avoid this single slot menace, I changed "slot.available_capacity > 20" in the function "getSlotsForDate" in vaccineNotifier.js