Skip to content

Commit

Permalink
Merge pull request #556 from osu-tournament-rating/hotfix/jsonmodel-p…
Browse files Browse the repository at this point in the history
…roperties

OsuApiClient undo bad mode refactoring
  • Loading branch information
hburn7 authored Dec 9, 2024
2 parents 948375b + 9e6410c commit a2bd1a7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public class BeatmapJsonModel : JsonModelBase
[JsonProperty("id")]
public long Id { get; set; }

[JsonProperty("ruleset")]
[JsonProperty("mode")]
public string Mode { get; set; } = null!;

[JsonProperty("status")]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ namespace OsuApiClient.Net.JsonModels.Osu.Users.Attributes;
/// </copyright>
public class RankHistoryJsonModel : JsonModelBase
{
[JsonProperty("ruleset")]
[JsonProperty("mode")]
public string Mode { get; set; } = null!;

[JsonProperty("data")]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ namespace OsuApiClient.Net.JsonModels.Osu.Users.Attributes;
/// </copyright>
public class UserStatisticsVariantJsonModel : JsonModelBase
{
[JsonProperty("ruleset")]
[JsonProperty("mode")]
public string Mode { get; set; } = null!;

[JsonProperty("variant")]
Expand Down

0 comments on commit a2bd1a7

Please sign in to comment.