From 80b49eb0770bef8ddb64ced7d5f7fc195c6e2679 Mon Sep 17 00:00:00 2001 From: Cj <161484149+CJ-SPT@users.noreply.github.com> Date: Sun, 19 Oct 2025 00:28:45 -0400 Subject: [PATCH] Write profile data json indented --- .../SPTarkov.Server.Core/Services/Mod/ProfileDataService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Libraries/SPTarkov.Server.Core/Services/Mod/ProfileDataService.cs b/Libraries/SPTarkov.Server.Core/Services/Mod/ProfileDataService.cs index 61902fad..85941807 100644 --- a/Libraries/SPTarkov.Server.Core/Services/Mod/ProfileDataService.cs +++ b/Libraries/SPTarkov.Server.Core/Services/Mod/ProfileDataService.cs @@ -42,7 +42,7 @@ public class ProfileDataService(ISptLogger 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");