1
0
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:
Joseph Madamba 2023-01-07 11:04:42 -08:00
parent 0f6735564e
commit 9d32fde592

View File

@ -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;