diff --git a/index.js b/index.js index 9a235a9c..2a30d330 100644 --- a/index.js +++ b/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"