diff --git a/CHANGELOG.md b/CHANGELOG.md index b15a803..e2c7032 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased +## [2.0.128] - 2026-04-06 +### Changed +- Fixed some qBittorrent endpoints. + ## [2.0.127] - 2026-03-15 ### Added - Implement qBittorrent endpoint for counting torrents, thanks to @vinodmishra! diff --git a/server/RdtClient.Web/Controllers/QBittorrentController.cs b/server/RdtClient.Web/Controllers/QBittorrentController.cs index 37a4b7a..6b1bfd4 100644 --- a/server/RdtClient.Web/Controllers/QBittorrentController.cs +++ b/server/RdtClient.Web/Controllers/QBittorrentController.cs @@ -154,7 +154,6 @@ public class QBittorrentController(ILogger logger, QBitto [Authorize(Policy = "AuthSetting")] [Route("torrents/info")] [HttpGet] - [HttpPost] public async Task>> TorrentsInfo([FromQuery] QBTorrentsInfoRequest request) { var results = await qBittorrent.TorrentInfo(); @@ -191,7 +190,6 @@ public class QBittorrentController(ILogger logger, QBitto [Authorize(Policy = "AuthSetting")] [Route("torrents/count")] [HttpGet] - [HttpPost] public async Task> TorrentsCount([FromQuery] QBTorrentsCountRequest request) { var results = await qBittorrent.TorrentInfo(); @@ -609,7 +607,6 @@ public class QBittorrentController(ILogger logger, QBitto [Authorize(Policy = "AuthSetting")] [Route("torrents/trackers")] [HttpGet] - [HttpPost] public async Task>> TorrentsTrackers([FromQuery] QBTorrentsHashRequest request) { if (String.IsNullOrWhiteSpace(request.Hash))