1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-13 17:13:06 +08:00

Merge pull request #1363 from peppy/fix-creator-username

Make creatorUsername a property so it is correctly deserialised
This commit is contained in:
Dean Herbert 2017-10-12 19:23:18 +09:00 committed by GitHub
commit 1eec6d8167

View File

@ -51,7 +51,7 @@ namespace osu.Game.Online.API.Requests
private int onlineId { get; set; } private int onlineId { get; set; }
[JsonProperty(@"creator")] [JsonProperty(@"creator")]
private string creatorUsername; private string creatorUsername { get; set; }
[JsonProperty(@"user_id")] [JsonProperty(@"user_id")]
private long creatorId = 1; private long creatorId = 1;