mirror of
https://github.com/public-transport/db-vendo-client.git
synced 2025-06-07 12:52:34 +03:00
undo prior changes to index.js
This commit is contained in:
parent
146f014eb8
commit
c6ea1a5d8c
1 changed files with 0 additions and 3 deletions
3
index.js
3
index.js
|
@ -146,9 +146,6 @@ const createClient = (profile, userAgent, opt = {}) => {
|
|||
}
|
||||
journeysRef = opt.laterThan;
|
||||
}
|
||||
if (opt?.transfers === -1) { // having `transfers` set to -1 may not be allowed, see https://github.com/public-transport/db-vendo-client/issues/5
|
||||
opt.transfers = null;
|
||||
}
|
||||
|
||||
opt = Object.assign({
|
||||
results: null, // number of journeys – `null` means "whatever HAFAS returns"
|
||||
|
|
Loading…
Add table
Reference in a new issue