diff --git a/AnimeON/Controller.cs b/AnimeON/Controller.cs index a4307db..b125a9d 100644 --- a/AnimeON/Controller.cs +++ b/AnimeON/Controller.cs @@ -43,8 +43,8 @@ namespace AnimeON.Controllers if (AppInit.conf?.online?.checkOnlineSearch != true) return OnError("animeon", proxyManager); - var seasons = await invoke.Search(imdb_id, kinopoisk_id, title, original_title, year, serial); - if (seasons != null && seasons.Count > 0) + var checkSeasons = await invoke.Search(imdb_id, kinopoisk_id, title, original_title, year, serial); + if (checkSeasons != null && checkSeasons.Count > 0) return Content("data-json=", "text/plain; charset=utf-8"); return OnError("animeon", proxyManager); diff --git a/CikavaIdeya/Controller.cs b/CikavaIdeya/Controller.cs index e0612dd..b1fcf63 100644 --- a/CikavaIdeya/Controller.cs +++ b/CikavaIdeya/Controller.cs @@ -42,8 +42,8 @@ namespace CikavaIdeya.Controllers if (AppInit.conf?.online?.checkOnlineSearch != true) return OnError("cikavaideya", proxyManager); - var episodesInfo = await invoke.Search(imdb_id, kinopoisk_id, title, original_title, year, serial == 0); - if (episodesInfo != null && episodesInfo.Count > 0) + var checkEpisodes = await invoke.Search(imdb_id, kinopoisk_id, title, original_title, year, serial == 0); + if (checkEpisodes != null && checkEpisodes.Count > 0) return Content("data-json=", "text/plain; charset=utf-8"); return OnError("cikavaideya", proxyManager); diff --git a/Mikai/Controller.cs b/Mikai/Controller.cs index d0384d5..87489db 100644 --- a/Mikai/Controller.cs +++ b/Mikai/Controller.cs @@ -39,8 +39,8 @@ namespace Mikai.Controllers if (AppInit.conf?.online?.checkOnlineSearch != true) return OnError("mikai", _proxyManager); - var searchResults = await invoke.Search(title, original_title, year); - if (searchResults != null && searchResults.Count > 0) + var checkResults = await invoke.Search(title, original_title, year); + if (checkResults != null && checkResults.Count > 0) return Content("data-json=", "text/plain; charset=utf-8"); return OnError("mikai", _proxyManager);