Skip to content
This repository has been archived by the owner on Jan 31, 2021. It is now read-only.

Commit

Permalink
another bucket
Browse files Browse the repository at this point in the history
  • Loading branch information
99littlebugs committed Jan 20, 2021
1 parent 44d8ab0 commit 92ba959
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scraper.js
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ function getEventsForSite(siteLink) {

function getApproxAppointmentCount(appointmentCount) {
const actualAppointmentCount = parseInt(appointmentCount);
const buckets = [0, 5, 10, 25, 50, 100, 150, 200, 250]
const buckets = [0, 5, 10, 25, 50, 100, 150, 200, 250, 300]
for (let i = 1; i < buckets.length; i++) {
if (actualAppointmentCount < buckets[i]) {
return buckets[i - 1];
Expand Down

0 comments on commit 92ba959

Please sign in to comment.