mirror of
https://github.com/public-transport/db-vendo-client.git
synced 2025-02-23 07:09:35 +02:00
fix merge leftover 🐛
This commit is contained in:
parent
f5c0e8e58a
commit
858fc209bb
1 changed files with 0 additions and 4 deletions
4
index.js
4
index.js
|
@ -143,10 +143,6 @@ const createClient = (profile, userAgent, request = _request) => {
|
||||||
outFrwd = false
|
outFrwd = false
|
||||||
}
|
}
|
||||||
|
|
||||||
if (opt.whenRepresents !== 'departure' && opt.whenRepresents !== 'arrival') {
|
|
||||||
throw new Error('opt.whenRepresents must be `departure` or `arrival`.')
|
|
||||||
}
|
|
||||||
|
|
||||||
const filters = [
|
const filters = [
|
||||||
profile.formatProductsFilter(opt.products || {})
|
profile.formatProductsFilter(opt.products || {})
|
||||||
]
|
]
|
||||||
|
|
Loading…
Add table
Reference in a new issue