Fixed bad-request response on remove-entry requests

This commit is contained in:
Leonetienne 2021-03-03 23:33:42 +01:00
parent 80a0f4b2c4
commit 44a5893038
2 changed files with 2 additions and 1 deletions

View File

@ -400,6 +400,7 @@ bool DownloadManager::RemoveFromCacheByID(std::string id)
if ((wasFinished) && (FileSystem::Exists(filePath))) if ((wasFinished) && (FileSystem::Exists(filePath)))
{ {
FileSystem::Delete(filePath); FileSystem::Delete(filePath);
return true;
} }
// Only save, if we can save immediately // Only save, if we can save immediately

View File

@ -1,2 +1,2 @@
#pragma once #pragma once
#define TUBIO_SERVER_VERSION (0.535) #define TUBIO_SERVER_VERSION (0.536)