Fix endpoint ambiguity MangaConnectorController

This commit is contained in:
2025-10-14 12:48:57 +02:00
parent b6aab4eb8d
commit bf7ab17502
2 changed files with 2 additions and 2 deletions

View File

@@ -47,7 +47,7 @@ public class MangaConnectorController(MangaContext context) : Controller
/// Get all <see cref="API.MangaConnectors.MangaConnector"/> (Scanlation-Sites) with <paramref name="Enabled"/>-Status
/// </summary>
/// <response code="200"></response>
[HttpGet("{Enabled}")]
[HttpGet("Enabled/{Enabled}")]
[ProducesResponseType<List<MangaConnector>>(Status200OK, "application/json")]
public Ok<List<MangaConnector>> GetEnabledConnectors(bool Enabled)
{

View File

@@ -1538,7 +1538,7 @@
}
}
},
"/v2/MangaConnector/{Enabled}": {
"/v2/MangaConnector/Enabled/{Enabled}": {
"get": {
"tags": [
"MangaConnector"