Closed luizfranca closed 6 years ago
You have to return a promise from the function. If whether.find
returns a promise, then you're just missing a `return weather.find..., otherwise you need to wrap this callback up in one.
I'll close this, but feel free to ask for more details if you can't figure it out.
It worked. Thank you :D
Hi. I've seen other questions like this one here, but I couldn't make it work with the answers from the other questions. I'm try to call a weather api and send it as a response, but it always returns blank on the speech output. Here is my intent: