Error getting "upcoming" series
Closed this issue · 0 comments
pawap90 commented
Problem
The endpoint /tv/upcoming
doesn't exist and is being called.
Error message
Unhandled Rejection (TypeError): can't access property "map", responseJson.results is undefined
229 | const responseJson = await response.json();
230 |
231 | // Parse results to model
>232 | const series = await Promise.all(
^233 | responseJson.results.map(async movie =>
234 | new MovieModel(
235 | movie.id,