1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 05:42:56 +08:00

Fix incorrect return type for spotlight request

This commit is contained in:
Andrei Zavatski 2020-01-10 16:28:52 +03:00
parent f65f030e79
commit 08fb68ddfe

View File

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