mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 14:46:38 +09:00
Apply suggestions
This commit is contained in:
@ -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;
|
||||
|
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user