Skip to content

Commit 5877f64

Browse files
committed
fix support for local log uploads
1 parent 12bf13a commit 5877f64

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/SMAPI.Web/Controllers/LogParserController.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public async Task<ActionResult> Index(string? id = null, LogViewFormat format =
6464
if (file.FetchedData != null)
6565
{
6666
fetchUri = null;
67-
rawData = new LogParser().Parse(file.FetchedData);
67+
rawData = JsonConvert.DeserializeObject<ParsedLog>(file.FetchedData);
6868
}
6969

7070
// TEMPORARY: support logs created before 2025-04-07.

0 commit comments

Comments
 (0)