updated build system
All checks were successful
BlockStorage/repertory/pipeline/head This commit looks good
All checks were successful
BlockStorage/repertory/pipeline/head This commit looks good
This commit is contained in:
parent
1f6036ec18
commit
3c001c11ae
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user