From e97a3b7b671202cd02efe3db5bc266fb4c4bf269 Mon Sep 17 00:00:00 2001 From: krbrs <57227244+krbrs@users.noreply.github.com> Date: Tue, 12 Nov 2024 11:46:37 +0100 Subject: [PATCH] Switch Params for Trakt Title Search (#1198) Fix Error 400 for TraktSearch by switching the params for the search URI --- Shoko.Server/Providers/TraktTV/TraktURIs.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shoko.Server/Providers/TraktTV/TraktURIs.cs b/Shoko.Server/Providers/TraktTV/TraktURIs.cs index 3b3617f7b..25b7d7af8 100644 --- a/Shoko.Server/Providers/TraktTV/TraktURIs.cs +++ b/Shoko.Server/Providers/TraktTV/TraktURIs.cs @@ -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