From ca382f1c163dd78fd601900bdc19323f219f2cbd Mon Sep 17 00:00:00 2001 From: Jannis R Date: Mon, 5 Mar 2018 20:43:31 +0100 Subject: [PATCH] earlierThan/laterThan: clarify docs :memo: --- docs/journeys.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/journeys.md b/docs/journeys.md index 0656934c..2dc7fb49 100644 --- a/docs/journeys.md +++ b/docs/journeys.md @@ -249,7 +249,7 @@ Some [profiles](../p) are able to parse the ticket information, if returned by t If a journey leg has been cancelled, a `cancelled: true` will be added. Also, `departure`/`departureDelay`/`departurePlatform` and `arrival`/`arrivalDelay`/`arrivalPlatform` will be `null`. -To get more journeys earlier/later than the current set of results, use `journey.earlierRef`/`journey.laterRef` as follows: +To get more journeys earlier/later than the current set of results, pass `journeys.earlierRef`/`journeys.laterRef` into `opt.earlierThan`/`opt.laterThan`. For example, query *later* journeys as follows: ```js const hbf = '900000003201'