bukinoshita/starbucks-store-finder

Fix checking of required options

nouvelle opened this issue · 0 comments

Hi!! :)

I think the following option check section needs to be modified because the required options seem to be lat and lng keys.

if ((!lat || !lng, !city, !region, !country)) {
    return reject(new TypeError('Options are required'))
}