Remove compiler warning from API
This commit is contained in:
parent
83c709b69d
commit
49dede7ff8
@ -48,9 +48,9 @@ namespace PluralKit.API.Controllers
|
|||||||
|
|
||||||
[HttpGet]
|
[HttpGet]
|
||||||
[RequiresSystem]
|
[RequiresSystem]
|
||||||
public async Task<ActionResult<PKSystem>> GetOwnSystem()
|
public Task<ActionResult<PKSystem>> GetOwnSystem()
|
||||||
{
|
{
|
||||||
return Ok(_auth.CurrentSystem);
|
return Task.FromResult<ActionResult<PKSystem>>(Ok(_auth.CurrentSystem));
|
||||||
}
|
}
|
||||||
|
|
||||||
[HttpGet("{hid}")]
|
[HttpGet("{hid}")]
|
||||||
|
Loading…
Reference in New Issue
Block a user