mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
Remove compiler warning from API
This commit is contained in:
parent
83c709b69d
commit
49dede7ff8
1 changed files with 2 additions and 2 deletions
|
|
@ -48,9 +48,9 @@ namespace PluralKit.API.Controllers
|
|||
|
||||
[HttpGet]
|
||||
[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}")]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue