Api get Movie detail return nil for production_companies and production_countries
ngqth opened this issue · 0 comments
ngqth commented
The code I tried is taken from the wiki:
MovieMDB.movie(apikey, movieID: 7984, language: "en"){
apiReturn, movie in
if let movie = movie{
print(movie.title)
print(movie.revenue)
print(movie.genres[0].name)
print(movie.production_companies?[0].name)
}
}
production_companies
, production_countries
appear in apiReturn
, but
print(movie.production_companies?[0].name)
return nil