fix merge leftover 🐛

This commit is contained in:
Jannis R 2018-08-17 22:05:51 +02:00
parent f5c0e8e58a
commit 858fc209bb
No known key found for this signature in database
GPG key ID: 0FE83946296A88A5

View file

@ -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 || {})
]