Created
November 28, 2017 17:27
-
-
Save dbabbs/67b650d3f85b53a88b980eb80112a130 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (geocodeJson.Response.View[0] == null) { | |
//Can't find placeResults | |
twiml.message('No search results found for "' + searchQuery + '" in the area. Please try again.'); | |
res.writeHead(200, { | |
'Content-Type': 'text/xml' | |
}); | |
res.end(twiml.toString()); | |
return; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment