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)); }