mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 02:42:54 +08:00
Fix incorrect return type for spotlight request
This commit is contained in:
parent
f65f030e79
commit
08fb68ddfe
@ -2,12 +2,19 @@
|
||||
// See the LICENCE file in the repository root for full licence text.
|
||||
|
||||
using System.Collections.Generic;
|
||||
using Newtonsoft.Json;
|
||||
using osu.Game.Online.API.Requests.Responses;
|
||||
|
||||
namespace osu.Game.Online.API.Requests
|
||||
{
|
||||
public class GetSpotlightsRequest : APIRequest<List<APISpotlight>>
|
||||
public class GetSpotlightsRequest : APIRequest<SpotlightsArray>
|
||||
{
|
||||
protected override string Target => "spotlights";
|
||||
}
|
||||
|
||||
public class SpotlightsArray
|
||||
{
|
||||
[JsonProperty("spotlights")]
|
||||
public List<APISpotlight> Spotlights;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user