Skip to content

Commit

Permalink
Merge pull request #50 from fancybits/fix-tvimages
Browse files Browse the repository at this point in the history
use the correct type for TVImages
  • Loading branch information
cyruzin authored Dec 20, 2023
2 parents 740dcc8 + e31d68e commit 040b666
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tv.go
Original file line number Diff line number Diff line change
Expand Up @@ -580,10 +580,10 @@ type TVImage struct {

// TVImages type is a struct for images JSON response.
type TVImages struct {
ID int64 `json:"id,omitempty"`
Backdrops []MovieImage `json:"backdrops"`
Logos []MovieImage `json:"logos"`
Posters []MovieImage `json:"posters"`
ID int64 `json:"id,omitempty"`
Backdrops []TVImage `json:"backdrops"`
Logos []TVImage `json:"logos"`
Posters []TVImage `json:"posters"`
}

// GetTVImages get the images that belong to a TV show.
Expand Down

0 comments on commit 040b666

Please sign in to comment.