mirror of
https://github.com/ppy/osu.git
synced 2026-05-19 00:30:19 +08:00
Use more correct json casing in APIScoresCollection
osu-web API is already returning both of these casings for backwards compatibility, but the former will be removed at some point. https://github.com/ppy/osu-web/blob/e540276721951b72bd1b6625260da5e6b33110b0/app/Http/Controllers/BeatmapsController.php#L314-L315
This commit is contained in:
@@ -13,7 +13,7 @@ namespace osu.Game.Online.API.Requests.Responses
|
||||
[JsonProperty(@"scores")]
|
||||
public List<SoloScoreInfo> Scores;
|
||||
|
||||
[JsonProperty(@"userScore")]
|
||||
[JsonProperty(@"user_score")]
|
||||
public APIScoreWithPosition UserScore;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user