From 16e6dd6d1441cb2b528a955736702efd7a15754e Mon Sep 17 00:00:00 2001 From: Julian Amelung Date: Tue, 17 Apr 2018 17:58:55 +0200 Subject: [PATCH] Changed Journeys to Departures. the endpoint which is discussed here is departures not journeys. If you use journeys with this parameters, you get mad with debugging. --- docs/departures.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/departures.md b/docs/departures.md index 6438b986..1a16535a 100644 --- a/docs/departures.md +++ b/docs/departures.md @@ -44,7 +44,7 @@ const vbbProfile = require('hafas-client/p/vbb') const client = createClient(vbbProfile) // S Charlottenburg -client.journeys('900000024101', {duration: 3}) +client.departures('900000024101', {duration: 3}) .then(console.log) .catch(console.error) ```