Fixed bug where the QBittorrent API didn't report the error state correctly when an error ocurred in the debrid provider.

This commit is contained in:
Roger Far 2022-01-08 10:38:19 -07:00
parent 2dd5810320
commit d0ef259cae
5 changed files with 8 additions and 4 deletions

View file

@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [2.0.4] - 2022-01-08
### Changed
- Fixed bug where the QBittorrent API didn't report the error state correctly when an error ocurred in the debrid provider.
## [2.0.3] - 2022-01-02 ## [2.0.3] - 2022-01-02
### Changed ### Changed
- Fixed automatic adding of AllDebrid torrents. - Fixed automatic adding of AllDebrid torrents.

View file

@ -55,7 +55,7 @@
<a class="navbar-item"> Profile </a> <a class="navbar-item"> Profile </a>
<a class="navbar-item" (click)="logout()"> Logout </a> <a class="navbar-item" (click)="logout()"> Logout </a>
<hr class="navbar-divider" /> <hr class="navbar-divider" />
<div class="navbar-item">Version 2.0.3</div> <div class="navbar-item">Version 2.0.4</div>
</div> </div>
</div> </div>
</div> </div>

View file

@ -1,6 +1,6 @@
{ {
"name": "rdt-client", "name": "rdt-client",
"version": "2.0.3", "version": "2.0.4",
"description": "This is a web interface to manage your torrents on Real-Debrid.", "description": "This is a web interface to manage your torrents on Real-Debrid.",
"main": "index.js", "main": "index.js",
"dependencies": { "dependencies": {

View file

@ -307,7 +307,7 @@ namespace RdtClient.Service.Services
} }
else if (!String.IsNullOrWhiteSpace(torrent.Error)) else if (!String.IsNullOrWhiteSpace(torrent.Error))
{ {
result.State = torrent.Error; result.State = "error";
} }
else if (torrent.Completed.HasValue) else if (torrent.Completed.HasValue)
{ {

View file

@ -4,7 +4,7 @@
<TargetFramework>net6.0</TargetFramework> <TargetFramework>net6.0</TargetFramework>
<OutputType>Exe</OutputType> <OutputType>Exe</OutputType>
<UserSecretsId>94c24cba-f03f-4453-a671-3640b517c573</UserSecretsId> <UserSecretsId>94c24cba-f03f-4453-a671-3640b517c573</UserSecretsId>
<Version>2.0.3</Version> <Version>2.0.4</Version>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>