Apply suggestions

This commit is contained in:
Andrei Zavatski
2020-01-10 20:46:35 +03:00
parent 2e627f4b7c
commit 9260ea9195
3 changed files with 10 additions and 10 deletions

View File

@ -7,12 +7,12 @@ using osu.Game.Online.API.Requests.Responses;
namespace osu.Game.Online.API.Requests
{
public class GetSpotlightsRequest : APIRequest<SpotlightsArray>
public class GetSpotlightsRequest : APIRequest<SpotlightsCollection>
{
protected override string Target => "spotlights";
}
public class SpotlightsArray
public class SpotlightsCollection
{
[JsonProperty("spotlights")]
public List<APISpotlight> Spotlights;

View File

@ -27,7 +27,7 @@ namespace osu.Game.Online.API.Requests.Responses
public DateTimeOffset EndDate;
[JsonProperty(@"participant_count")]
public int? ParticipiantCount;
public int? ParticipantCount;
public override string ToString() => Name;
}