updated build system
This commit is contained in:
parent
3cf60d0d26
commit
0ce2be24a3
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user