Skip to content

Commit

Permalink
Switch Params for Trakt Title Search (#1198)
Browse files Browse the repository at this point in the history
Fix Error 400 for TraktSearch by switching the params for the search URI
  • Loading branch information
krbrs authored Nov 12, 2024
1 parent eef67dd commit e97a3b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Shoko.Server/Providers/TraktTV/TraktURIs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public static class TraktURIs

//types
// movie , show , episode , person , list
public const string SearchByQuery = TraktConstants.BaseAPIURL + @"/search?fields=title&type={1}&query={0}"; // /search?fields=title&type=:type&query=:query
public const string SearchByQuery = TraktConstants.BaseAPIURL + @"/search?fields=title&type={0}&query={1}"; // /search?fields=title&type=:type&query=:query
// search criteria / search type

// trakt-movie , trakt-show , trakt-episode , imdb , tmdb
Expand Down

0 comments on commit e97a3b7

Please sign in to comment.