fixed tmdb bug with searchmovies and added tests
This commit is contained in:
@@ -64,7 +64,7 @@ func (movie *ResultMovie) ReleaseYear() string {
|
||||
// }
|
||||
|
||||
func (api *API) SearchMovies(query string, adult bool, page int64) (*ResultMovies, error) {
|
||||
path := []string{"searc", "movie"}
|
||||
path := []string{"search", "movie"}
|
||||
params := map[string]string{
|
||||
"query": url.QueryEscape(query),
|
||||
"include_adult": strconv.FormatBool(adult),
|
||||
|
||||
Reference in New Issue
Block a user