From c140b302ebf8920e5f9192ff34aa056e1b167a23 Mon Sep 17 00:00:00 2001 From: JustArchi Date: Wed, 16 Dec 2020 10:21:16 +0100 Subject: [PATCH] Correct CI I forgot this is a struct, not a class --- ArchiSteamFarm/IPC/Controllers/Api/NLogController.cs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/ArchiSteamFarm/IPC/Controllers/Api/NLogController.cs b/ArchiSteamFarm/IPC/Controllers/Api/NLogController.cs index e8984fcd1..f00f844fe 100644 --- a/ArchiSteamFarm/IPC/Controllers/Api/NLogController.cs +++ b/ArchiSteamFarm/IPC/Controllers/Api/NLogController.cs @@ -50,10 +50,6 @@ namespace ArchiSteamFarm.IPC.Controllers.Api { [ProducesResponseType(typeof(IEnumerable>), (int) HttpStatusCode.OK)] [ProducesResponseType(typeof(GenericResponse), (int) HttpStatusCode.BadRequest)] public async Task NLogGet(CancellationToken cancellationToken) { - if (cancellationToken == null) { - throw new ArgumentNullException(nameof(cancellationToken)); - } - if (HttpContext == null) { throw new InvalidOperationException(nameof(HttpContext)); }