mirror of
https://github.com/public-transport/db-vendo-client.git
synced 2025-02-22 22:59:35 +02:00
fix laterThan/earlierThan
This commit is contained in:
parent
0e2d0e32ab
commit
e05b31e19c
1 changed files with 1 additions and 2 deletions
3
index.js
3
index.js
|
@ -201,10 +201,9 @@ const createClient = (profile, userAgent, opt = {}) => {
|
|||
// see rest.exe docs
|
||||
// ushrp: Boolean(opt.startWithWalking),
|
||||
};
|
||||
query.anfrageZeitpunkt = profile.formatTime(profile, when);
|
||||
if (journeysRef) {
|
||||
query.pagingReference = journeysRef;
|
||||
} else {
|
||||
query.anfrageZeitpunkt = profile.formatTime(profile, when);
|
||||
}
|
||||
query.ankunftSuche = outFrwd ? 'ABFAHRT' : 'ANKUNFT';
|
||||
if (opt.results !== null) {
|
||||
|
|
Loading…
Add table
Reference in a new issue