updated build system

This commit is contained in:
Scott E. Graves 2024-08-02 11:44:51 -05:00
parent 3cf60d0d26
commit 0ce2be24a3

View File

@ -1012,7 +1012,7 @@ void file_manager::upload_completed(const file_upload_completed &evt) {
bool exists{};
auto res = provider_.is_file(evt.get_api_path(), exists);
if ((res == api_error::success && not exists) ||
not utils::file::is_file(evt.get_source())) {
not utils::file::is_file(evt.get_source().get<std::string>())) {
event_system::instance().raise<file_upload_not_found>(
evt.get_api_path(), evt.get_source());
remove_upload(evt.get_api_path(), true);