diff --git a/Shoko.Server/API/v3/Controllers/SeriesController.cs b/Shoko.Server/API/v3/Controllers/SeriesController.cs index f34c2609c..16dfa0302 100644 --- a/Shoko.Server/API/v3/Controllers/SeriesController.cs +++ b/Shoko.Server/API/v3/Controllers/SeriesController.cs @@ -121,22 +121,6 @@ public ActionResult> GetSeriesCast(int id) if (!User.AllowedSeries(ser)) return BadRequest("Series not allowed for current user"); return Series.GetCast(HttpContext, ser.AniDB_ID); } - - /// - /// Get the group for a series ID - /// - /// Shoko ID - /// - [HttpGet("{seriesID}/Group")] - public ActionResult GetGroup(int seriesID) - { - var series = RepoFactory.AnimeSeries.GetByID(seriesID); - if (series == null) return BadRequest("No Series with ID"); - if (!User.AllowedSeries(series)) return BadRequest("Series not allowed for current user"); - var grp = series.AnimeGroup; - if (grp == null) return BadRequest("No Group for Series"); - return new Group(HttpContext, grp); - } /// /// Move the series to a new group, and update accordingly