diff --git a/OshimaWebAPI/Controllers/FunGameController.cs b/OshimaWebAPI/Controllers/FunGameController.cs index da55fa9..71154b9 100644 --- a/OshimaWebAPI/Controllers/FunGameController.cs +++ b/OshimaWebAPI/Controllers/FunGameController.cs @@ -38,12 +38,12 @@ namespace Oshima.FunGame.WebAPI.Controllers [AllowAnonymous] [HttpGet("last")] - public string[] GetLast([FromQuery] bool full = false) + public List GetLast([FromQuery] bool full = false) { PluginConfig LastRecordConfig = new("FunGameSimulation", "LastRecord"); LastRecordConfig.LoadConfig(); string get = full ? "full" : "last"; - return LastRecordConfig.Get(get) ?? []; + return LastRecordConfig.GetValue>(get) ?? []; } [AllowAnonymous]