Skip to content

Commit

Permalink
Fix ClubActivityEdition not having nullable members
Browse files Browse the repository at this point in the history
  • Loading branch information
BigBang1112 committed Jun 23, 2024
1 parent 0377549 commit 41c27a2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Src/ManiaAPI.NadeoAPI/ClubActivityEdition.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ namespace ManiaAPI.NadeoAPI;
public sealed record ClubActivityEdition
{
[JsonConverter(typeof(BoolNumberConverter))]
public bool Featured { get; init; }
public bool? Featured { get; init; }

[JsonConverter(typeof(BoolNumberConverter))]
public bool Public { get; init; }
public bool? Public { get; init; }

[JsonConverter(typeof(BoolNumberConverter))]
public bool Active { get; init; }
public bool? Active { get; init; }

public int Position { get; init; }
public int? Position { get; init; }
}

0 comments on commit 41c27a2

Please sign in to comment.