mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-27 20:44:00 +02:00
Better client side error handling
This commit is contained in:
@@ -133,6 +133,7 @@ namespace NzbDrone.Web.Controllers
|
||||
}
|
||||
|
||||
[HttpPost]
|
||||
[JsonErrorFilter]
|
||||
public EmptyResult SaveSeasonIgnore(int seriesId, int seasonNumber, bool ignored)
|
||||
{
|
||||
_seasonProvider.SetIgnore(seriesId, seasonNumber, ignored);
|
||||
@@ -140,6 +141,7 @@ namespace NzbDrone.Web.Controllers
|
||||
}
|
||||
|
||||
[HttpPost]
|
||||
[JsonErrorFilter]
|
||||
public EmptyResult SaveEpisodeIgnore(int episodeId, bool ignored)
|
||||
{
|
||||
_episodeProvider.SetEpisodeIgnore(episodeId, ignored);
|
||||
|
Reference in New Issue
Block a user