fixes
Some checks are pending
BlockStorage/repertory/pipeline/head Build queued...

This commit is contained in:
2024-08-23 21:24:12 -05:00
parent 710c7d56df
commit f31de883e4
2 changed files with 2 additions and 2 deletions

View File

@ -871,7 +871,7 @@ auto encrypt_provider::read_file_bytes(const std::string &api_path,
auto file_data = row->get_column("data").get_value_as_json();
auto opt_size = utils::file::file{source_path}.size();
if (opt_size.has_value()) {
if (not opt_size.has_value()) {
return api_error::os_error;
}

View File

@ -893,7 +893,7 @@ auto s3_provider::upload_file_impl(const std::string &api_path,
}
auto opt_size = file.size();
if (opt_size.has_value()) {
if (not opt_size.has_value()) {
return api_error::comm_error;
}