Closed amberleyromo closed 8 years ago
bug: The first time a user spins the roulette for a zipcode that does not appear in the database, restaurant options do not populate.
From Jon(channel): This is a server-side problem where the new zip code's restaurants haven't loaded before the response is sent. I'll implement the missing wait-on-new-zipcode feature tomorrow, just requires a little callback managing.
In index.js: not in use / test -- routes.get('/api/match/restaurant/:zip'... production -- routes.get('/api/match/:zip'...
Ref #18.