Skip to content

Commit

Permalink
fix serialization issue with stj
Browse files Browse the repository at this point in the history
  • Loading branch information
giannik authored Jun 4, 2024
1 parent 7196b5b commit 186b357
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ namespace OrchardCore.Placements.Models
{
public class PlacementsDocument : Document
{
public Dictionary<string, PlacementNode[]> Placements { get; } = new Dictionary<string, PlacementNode[]>(StringComparer.OrdinalIgnoreCase);
public Dictionary<string, PlacementNode[]> Placements { get;init; } = new(StringComparer.OrdinalIgnoreCase);
}
}

0 comments on commit 186b357

Please sign in to comment.