Skip to content

Commit

Permalink
fix(2517): Database failing to load readonly Color, removed readonly …
Browse files Browse the repository at this point in the history
…modifier that was introduced in 5dcb0b5 (#2518)
  • Loading branch information
lodicolo authored Jan 30, 2025
1 parent 1b82d58 commit efcfe54
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Intersect.Server.Core/Entities/Label.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ namespace Intersect.Server.Entities;
public partial struct Label(string label, Color color)
{
[JsonProperty(nameof(Label))]
public readonly string Text = label;
public string Text = label;

public readonly Color Color = color;
public Color Color = color;
}

0 comments on commit efcfe54

Please sign in to comment.