From 858fc209bbd622bca070807ac47f3e49e69f8d82 Mon Sep 17 00:00:00 2001 From: Jannis R Date: Fri, 17 Aug 2018 22:05:51 +0200 Subject: [PATCH] fix merge leftover :bug: --- index.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/index.js b/index.js index bb4c82e9..3c3d1371 100644 --- a/index.js +++ b/index.js @@ -143,10 +143,6 @@ const createClient = (profile, userAgent, request = _request) => { outFrwd = false } - if (opt.whenRepresents !== 'departure' && opt.whenRepresents !== 'arrival') { - throw new Error('opt.whenRepresents must be `departure` or `arrival`.') - } - const filters = [ profile.formatProductsFilter(opt.products || {}) ]