1
0
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:
Dean Herbert
2022-07-19 15:33:02 +09:00
Unverified
parent c07f78409e
commit 2716bd41d9
@@ -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;
}
}