Closed mwarkentin closed 9 years ago
Just from looking at the code, I'm guessing the JSON response didn't have products
. Can you share your coordinates for me to test against? Guessing the solution is to verify that parsed JSON has what's needed before continuing.
@maxbeatty Here are the coordinates I used: 43.663424, -79.340840
Ah.. just took a look at the code and realized that I need an Uber token in my config - might want to add something to the readme about that. :smile:
Added a Configure section to the README and will now log a warning if the env var is missing
Nice.. thanks!
I was playing around with this (great idea!).. went through and set up my office coordinates, set it as default, etc. When I went to use a command that made a call to the Uber API, I got the following: