From 69a51c425acef65c229e95f2c361226bd81d64c5 Mon Sep 17 00:00:00 2001 From: Bond-009 Date: Wed, 4 Jan 2023 16:01:31 +0100 Subject: Fix all warnings in Jellyfin.Api (#9003) --- Jellyfin.Api/Controllers/SystemController.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Jellyfin.Api/Controllers/SystemController.cs') diff --git a/Jellyfin.Api/Controllers/SystemController.cs b/Jellyfin.Api/Controllers/SystemController.cs index 411c987f3..2d594293e 100644 --- a/Jellyfin.Api/Controllers/SystemController.cs +++ b/Jellyfin.Api/Controllers/SystemController.cs @@ -216,8 +216,7 @@ namespace Jellyfin.Api.Controllers public ActionResult> GetWakeOnLanInfo() { var result = _network.GetMacAddresses() - .Select(i => new WakeOnLanInfo(i)) - .ToList(); + .Select(i => new WakeOnLanInfo(i)); return Ok(result); } } -- cgit v1.2.3