Skip to content

Commit 2f0c0b7

Browse files
committed
Fix max availability probe window to 3 days.
1 parent c40fd8f commit 2f0c0b7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/app/Services/Hostelworld/Api/AvailabilityClient.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export class AvailabilityClient {
4747

4848
await Promise.all(daysAfterToCheck.map(async days => {
4949
const fromWithDaysAdded: Date = dateAddDays(from, days)
50-
const toWithFromPlus3Days: Date = dateAddDays(fromWithDaysAdded, 2)
50+
const toWithFromPlus3Days: Date = dateAddDays(fromWithDaysAdded, 3)
5151

5252
await delay(randomNumber(0, 3) * 100)
5353

0 commit comments

Comments
 (0)