From 49dede7ff84f589b0a7706b94dc1958354fa7137 Mon Sep 17 00:00:00 2001 From: Ske Date: Fri, 18 Oct 2019 13:19:17 +0200 Subject: [PATCH] Remove compiler warning from API --- PluralKit.API/Controllers/SystemController.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PluralKit.API/Controllers/SystemController.cs b/PluralKit.API/Controllers/SystemController.cs index 372100f7..24f4f6df 100644 --- a/PluralKit.API/Controllers/SystemController.cs +++ b/PluralKit.API/Controllers/SystemController.cs @@ -48,9 +48,9 @@ namespace PluralKit.API.Controllers [HttpGet] [RequiresSystem] - public async Task> GetOwnSystem() + public Task> GetOwnSystem() { - return Ok(_auth.CurrentSystem); + return Task.FromResult>(Ok(_auth.CurrentSystem)); } [HttpGet("{hid}")]