From 44a58930386d20a42778949c8447697ce04553b9 Mon Sep 17 00:00:00 2001 From: Leonetienne Date: Wed, 3 Mar 2021 23:33:42 +0100 Subject: [PATCH] Fixed bad-request response on remove-entry requests --- Tubio/DownloadManager.cpp | 1 + Tubio/Version.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Tubio/DownloadManager.cpp b/Tubio/DownloadManager.cpp index 8409445..35f08ed 100644 --- a/Tubio/DownloadManager.cpp +++ b/Tubio/DownloadManager.cpp @@ -400,6 +400,7 @@ bool DownloadManager::RemoveFromCacheByID(std::string id) if ((wasFinished) && (FileSystem::Exists(filePath))) { FileSystem::Delete(filePath); + return true; } // Only save, if we can save immediately diff --git a/Tubio/Version.h b/Tubio/Version.h index 8814928..7b143a5 100644 --- a/Tubio/Version.h +++ b/Tubio/Version.h @@ -1,2 +1,2 @@ #pragma once -#define TUBIO_SERVER_VERSION (0.535) +#define TUBIO_SERVER_VERSION (0.536)