updated build system
All checks were successful
BlockStorage/repertory/pipeline/head This commit looks good

This commit is contained in:
Scott E. Graves 2024-10-20 18:48:01 -05:00
parent 1f6036ec18
commit 3c001c11ae

View File

@ -434,7 +434,7 @@ auto write_json_file(std::string_view path,
#if defined(PROJECT_ENABLE_LIBSODIUM) && defined(PROJECT_ENABLE_BOOST)
if (password.has_value()) {
const auto str_data = data.dump();
const auto str_data = data.dump(2);
data_buffer encrypted_data{};
utils::encryption::encrypt_data(
@ -444,7 +444,7 @@ auto write_json_file(std::string_view path,
}
#endif // defined(PROJECT_ENABLE_LIBSODIUM) && defined(PROJECT_ENABLE_BOOST)
auto json_str = data.dump();
auto json_str = data.dump(2);
return file->write(
reinterpret_cast<const unsigned char *>(json_str.c_str()),
json_str.size(), 0U);