mirror of
https://github.com/public-transport/db-vendo-client.git
synced 2025-02-23 15:19:35 +02:00
fix radar signature 🐛
This commit is contained in:
parent
89060afc8d
commit
83cae914a4
1 changed files with 1 additions and 1 deletions
2
index.js
2
index.js
|
@ -289,7 +289,7 @@ const createClient = (profile, request = _request) => {
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
const radar = ({north, west, south, east, opt}) => {
|
const radar = ({north, west, south, east}, opt) => {
|
||||||
if ('number' !== typeof north) throw new Error('north must be a number.')
|
if ('number' !== typeof north) throw new Error('north must be a number.')
|
||||||
if ('number' !== typeof west) throw new Error('west must be a number.')
|
if ('number' !== typeof west) throw new Error('west must be a number.')
|
||||||
if ('number' !== typeof south) throw new Error('south must be a number.')
|
if ('number' !== typeof south) throw new Error('south must be a number.')
|
||||||
|
|
Loading…
Add table
Reference in a new issue