Skip to content

Commit 7f95ce6

Browse files
add adult flag to tv show results. (#87)
its not documented but its return by the api. https://developer.themoviedb.org/reference/discover-tv
1 parent 8fe6d61 commit 7f95ce6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

results.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ type TVShowResult struct {
6969
Popularity float32 `json:"popularity"`
7070
GenreIDs []int64 `json:"genre_ids"`
7171
OriginCountry []string `json:"origin_country"`
72+
Adult bool `json:"adult"`
7273
VoteMetrics
7374
}
7475

0 commit comments

Comments
 (0)