Need friendly SMS responses to these situations (in index.js):
if (zip === undefined || zipCodes === undefined) { res.status(500).send('No zip given, or zip code geolocation data unavilable!'); } else if (!(zip in zipCodes)) { res.status(404).send('Could not find ZIP code'); } else { const [lat, lon] = zipCodes[zip];
Need friendly SMS responses to these situations (in index.js):
if (zip === undefined || zipCodes === undefined) { res.status(500).send('No zip given, or zip code geolocation data unavilable!'); } else if (!(zip in zipCodes)) { res.status(404).send('Could not find ZIP code'); } else { const [lat, lon] = zipCodes[zip];