From c6ea1a5d8c50d28f0179548d072020336d519392 Mon Sep 17 00:00:00 2001 From: dabund24 Date: Thu, 9 Jan 2025 00:12:54 +0100 Subject: [PATCH] undo prior changes to index.js --- index.js | 3 --- 1 file changed, 3 deletions(-) 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"