mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 23:12:56 +08:00
Mark current nominations and related users as nullable
This commit is contained in:
parent
0f6735564e
commit
9d32fde592
@ -112,10 +112,10 @@ namespace osu.Game.Online.API.Requests.Responses
|
||||
public BeatmapSetOnlineLanguage Language { get; set; }
|
||||
|
||||
[JsonProperty(@"current_nominations")]
|
||||
public BeatmapSetOnlineNomination[] CurrentNominations { get; set; } = Array.Empty<BeatmapSetOnlineNomination>();
|
||||
public BeatmapSetOnlineNomination[]? CurrentNominations { get; set; }
|
||||
|
||||
[JsonProperty(@"related_users")]
|
||||
public APIUser[] RelatedUsers { get; set; } = Array.Empty<APIUser>();
|
||||
public APIUser[]? RelatedUsers { get; set; }
|
||||
|
||||
public string Source { get; set; } = string.Empty;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user