file mgr db unit tests and fixes

This commit is contained in:
Scott E. Graves 2024-12-09 13:56:30 -06:00
parent a995afa6eb
commit b8b364f292

View File

@ -454,6 +454,9 @@ auto file_manager::remove_file(const std::string &api_path) -> api_error {
close_all(api_path);
remove_upload(api_path, true);
mgr_db_->remove_resume(api_path);
res = provider_.remove_file(api_path);
if (res != api_error::success) {
return res;