From ace74b379e2f1c7d8f0507fe0fc6ef3ad74a6ef3 Mon Sep 17 00:00:00 2001 From: Mikal Stordal Date: Tue, 3 Dec 2024 15:47:57 +0100 Subject: [PATCH] fix: remove copy pasta error in endpoints My bad. --- Shoko.Server/API/v3/Controllers/ActionController.cs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Shoko.Server/API/v3/Controllers/ActionController.cs b/Shoko.Server/API/v3/Controllers/ActionController.cs index fb0bc0944..1be9faf68 100644 --- a/Shoko.Server/API/v3/Controllers/ActionController.cs +++ b/Shoko.Server/API/v3/Controllers/ActionController.cs @@ -182,11 +182,11 @@ public ActionResult PurgeAllUnusedTmdbMovies() } /// - /// Purge all unused TMDB Movie Collections. + /// Purge all TMDB Movie Collections. /// /// - [HttpGet("PurgeAllUnusedTmdbMovieCollections")] - public ActionResult PurgeAllUnusedTmdbMovieCollections() + [HttpGet("PurgeAllTmdbMovieCollections")] + public ActionResult PurgeAllTmdbMovieCollections() { Task.Factory.StartNew(() => _tmdbService.PurgeAllMovieCollections()); return Ok(); @@ -225,11 +225,11 @@ public ActionResult PurgeAllUnusedTmdbShows() } /// - /// Purge all unused TMDB Show Alternate Orderings. + /// Purge all TMDB Show Alternate Orderings. /// /// - [HttpGet("PurgeAllUnusedTmdbShowAlternateOrderings")] - public ActionResult PurgeAllUnusedTmdbShowAlternateOrderings() + [HttpGet("PurgeAllTmdbShowAlternateOrderings")] + public ActionResult PurgeAllTmdbShowAlternateOrderings() { Task.Factory.StartNew(() => _tmdbService.PurgeAllShowEpisodeGroups()); return Ok();