diff --git a/API/Controllers/SearchController.cs b/API/Controllers/SearchController.cs index 0f6c795..3b92bf0 100644 --- a/API/Controllers/SearchController.cs +++ b/API/Controllers/SearchController.cs @@ -19,7 +19,7 @@ public class SearchController(PgsqlContext context) : Controller /// /// Name/Title of the Manga /// Array of Manga - [HttpPost("Manga/{name}")] + [HttpPost("{name}")] [ProducesResponseType(Status500InternalServerError)] public IActionResult SearchMangaGlobal(string name) { @@ -49,7 +49,7 @@ public class SearchController(PgsqlContext context) : Controller /// Manga-Connector-ID /// Name/Title of the Manga /// Manga - [HttpPost("Connector/{id}/Manga/{name}")] + [HttpPost("{id}/{name}")] [ProducesResponseType(Status200OK)] [ProducesResponseType(Status404NotFound)] [ProducesResponseType(Status500InternalServerError)]