Skip to content

Commit

Permalink
fix: wrong json property name for difficulty rating (#1)
Browse files Browse the repository at this point in the history
* Rename DifficultyRating to StarRating

* Rename `StarRating` to `DifficultyRating`

---------

Co-authored-by: mini <[email protected]>
  • Loading branch information
matte-ek and minisbett authored Aug 21, 2024
1 parent 8df5f75 commit 945500f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OsuSharp/Models/Beatmaps/DifficultyAttributes.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public class DifficultyAttributes
/// <summary>
/// The difficulty rating of the beatmap.
/// </summary>
[JsonProperty("difficulty_rating")]
[JsonProperty("star_rating")]
public float DifficultyRating { get; private set; }

/// <summary>
Expand Down

0 comments on commit 945500f

Please sign in to comment.