fix radar signature 🐛

This commit is contained in:
Jannis R 2018-03-17 20:58:03 +01:00
parent 89060afc8d
commit 83cae914a4
No known key found for this signature in database
GPG key ID: 0FE83946296A88A5

View file

@ -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.')