travel-consensus / cinemaplate

End dinner and a movie indecision paralysis.
http://cinemaplate.herokuapp.com
0 stars 1 forks source link

Bug loading restaurants from a new zipcode #19

Closed amberleyromo closed 8 years ago

amberleyromo commented 8 years ago

Ref #18.

JonKrone commented 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.

amberleyromo commented 8 years ago

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.

dotkam commented 8 years ago

In index.js: not in use / test -- routes.get('/api/match/restaurant/:zip'... production -- routes.get('/api/match/:zip'...