From 3c001c11ae2e6910d024d9ea8f21ce72b65f089e Mon Sep 17 00:00:00 2001 From: "Scott E. Graves" Date: Sun, 20 Oct 2024 18:48:01 -0500 Subject: [PATCH] updated build system --- support/src/utils/file.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/support/src/utils/file.cpp b/support/src/utils/file.cpp index ceabfab9..e58a9a44 100644 --- a/support/src/utils/file.cpp +++ b/support/src/utils/file.cpp @@ -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(json_str.c_str()), json_str.size(), 0U);