Write profile data json indented

This commit is contained in:
Cj
2025-10-19 00:28:45 -04:00
parent 4f73860e66
commit 80b49eb077
@@ -42,7 +42,7 @@ public class ProfileDataService(ISptLogger<ProfileDataService> logger, FileUtil
{
ArgumentNullException.ThrowIfNull(profileData);
var data = jsonUtil.Serialize(profileData, profileData.GetType());
var data = jsonUtil.Serialize(profileData, profileData.GetType(), true);
if (data == null)
{
throw new Exception("The profile data when serialized resulted in a null value");